Skip to content

Commit

Permalink
docs: Fix typos in factory pattern README (iluwatar#2605)
Browse files Browse the repository at this point in the history
  • Loading branch information
mathbraga authored and sugan0tech committed Nov 12, 2023
1 parent 8606685 commit bb46532
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions factory/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit bb46532

Please sign in to comment.