Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
forax committed Sep 27, 2023
1 parent 5eb9a3d commit 9b82fe9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/abstractfactory/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ allows creating instances of open hierarchy classes from parameters.

A dynamic abstract factory is an abstract factory (also called a **Registry**) that lets you register
[factory](../factory) for a value (here a String) and then calls the factory for that value.
It uses a hashtable/dictionary (a `HashMap) to associate the value to a factory (here a `Supplier`).
It uses a hashtable/dictionary (a `HashMap`) to associate the value to a factory (here a `Supplier`).

```java
public class Registry {
Expand Down

0 comments on commit 9b82fe9

Please sign in to comment.