Skip to content

Commit 2594182

Browse files
committed
Fixing markdown error
1 parent 6aaff79 commit 2594182

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Here's is an implementation of some Design Patterns from scratch :p
55
__What is a Design Pattern ?__
66
> A software design pattern is a general reusable solution to a commonly occurring problem within a given context in software design --- Wikipedia
77
8-
In Java, Design Patterns are dived into tree parts : *Creational*, *Structural* and *Behavioral*.
8+
In Java, Design Patterns are divived into tree parts : *Creational*, *Structural* and *Behavioral*.
99

1010
# Pattern Observer
1111
Code source files are available in the package `com.patternObsTest`.
@@ -39,12 +39,12 @@ In Java, Design Patterns are dived into tree parts : *Creational*, *Structural*
3939
```
4040

4141
# Pattern Singleton
42-
Pattern Singleton: one Class, one Instance.
42+
Pattern Singleton: One Class, one Instance.
4343
Singleton is one of the Gangs of Four Design patterns and comes in the Creational Design Pattern category.
4444
There are many implementations of this pattern, but we will implement the Thread Safe one.
4545
Classes are in the package `com.Singleton`;
4646

47-
```Java
47+
```java
4848

4949
import com.singleton.SingletonThreadSafe;
5050

@@ -60,7 +60,7 @@ Classes are in the package `com.Singleton`;
6060

6161
System.out.println(sing1);
6262

63-
//What the hell, the two instances have the same reference :o
63+
//Now check out your console.... What the hell, the two instances have the same reference :o
6464
}
6565
}
6666
```

0 commit comments

Comments
 (0)