From 07663ce2bdd46ca4697307068b9eb0d4c8888ead Mon Sep 17 00:00:00 2001 From: Matheus Braga Date: Sat, 14 Oct 2023 08:11:10 -0300 Subject: [PATCH] docs: Fix typos in factory pattern README (#2605) --- factory/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/factory/README.md b/factory/README.md index f6fa1b5a0..ed841bd0e 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