docs: improve factory

This commit is contained in:
Ilkka Seppälä
2024-04-19 21:03:21 +03:00
parent 19f99a7a07
commit 11289b8cfc
2 changed files with 34 additions and 29 deletions
@@ -31,7 +31,7 @@ import lombok.extern.slf4j.Slf4j;
* create and return objects of varying classes, in order to hide the implementation logic
* and makes client code focus on usage rather than objects initialization and management.
*
* <p>In this example an alchemist manufactures coins. CoinFactory is the factory class and it
* <p>In this example an alchemist manufactures coins. CoinFactory is the factory class, and it
* provides a static method to create different types of coins.
*/