We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8037495 commit 7e4d0b4Copy full SHA for 7e4d0b4
decorator/src/main/java/com/iluwatar/decorator/App.java
@@ -28,7 +28,7 @@
28
29
/**
30
* The Decorator pattern is a more flexible alternative to subclassing. The Decorator class
31
- * implements the same interface as the target and uses aggregation to "decorate" calls to the
+ * implements the same interface as the target and uses composition to "decorate" calls to the
32
* target. Using the Decorator pattern it is possible to change the behavior of the class during
33
* runtime.
34
*
0 commit comments