Skip to content

Commit

Permalink
Fix some typos on factory pattern README
Browse files Browse the repository at this point in the history
  • Loading branch information
mathbraga committed Oct 2, 2023
1 parent 6e0547a commit ed5c5da
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 ed5c5da

Please sign in to comment.