Skip to content

Commit 95b651f

Browse files
authored
Merge pull request iluwatar#520 from thomasoss/patch-1
Update App.java
2 parents e1ae106 + 9180bb0 commit 95b651f

File tree

1 file changed

+1
-1
lines changed
  • decorator/src/main/java/com/iluwatar/decorator

1 file changed

+1
-1
lines changed

decorator/src/main/java/com/iluwatar/decorator/App.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
/**
2626
*
2727
* 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
28+
* implements the same interface as the target and uses aggregation to "decorate" calls to the
2929
* target. Using the Decorator pattern it is possible to change the behavior of the class during
3030
* runtime.
3131
* <p>

0 commit comments

Comments
 (0)