mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-13 18:15:41 +00:00
Word mistake in factory/README.md #1601
This commit is contained in:
1 parent
b8ecbaa451
commit
7931471b99
1 file changed
+1
-1
+1
-1
@@ -81,7 +81,7 @@ public enum CarType {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
Then we have the static method `getCar` to create car objects encapsulated in the factory class
|
Then we have the static method `getCar` to create car objects encapsulated in the factory class
|
||||||
`CarSimpleFactory`.
|
`CarsFactory`.
|
||||||
|
|
||||||
```java
|
```java
|
||||||
public class CarsFactory {
|
public class CarsFactory {
|
||||||
|
|||||||
Reference in new issue
Block a user