We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e1ae106 + 9180bb0 commit 95b651fCopy full SHA for 95b651f
decorator/src/main/java/com/iluwatar/decorator/App.java
@@ -25,7 +25,7 @@
25
/**
26
*
27
* The Decorator pattern is a more flexible alternative to subclassing. The Decorator class
28
- * implements the same interface as the target and uses composition to "decorate" calls to the
+ * implements the same interface as the target and uses aggregation to "decorate" calls to the
29
* target. Using the Decorator pattern it is possible to change the behavior of the class during
30
* runtime.
31
* <p>
0 commit comments