diff --git a/factory/README.md b/factory/README.md index f6fa1b5a033a..ed841bd0e2da 100644 --- a/factory/README.md +++ b/factory/README.md @@ -60,7 +60,7 @@ public class CopperCoin implements Coin { } ``` -Enumeration above represents types of coins that we support (`GoldCoin` and `CopperCoin`). +Enumeration below represents types of coins that we support (`GoldCoin` and `CopperCoin`). ```java @RequiredArgsConstructor @@ -110,7 +110,7 @@ This is a gold coin. ## Applicability -Use the factory pattern when you only care about the creation of a object, not how to create +Use the factory pattern when you only care about the creation of an object, not how to create and manage it. Pros