diff --git a/decorator/src/main/java/com/iluwatar/decorator/App.java b/decorator/src/main/java/com/iluwatar/decorator/App.java index 348e5623d..9d28bd108 100644 --- a/decorator/src/main/java/com/iluwatar/decorator/App.java +++ b/decorator/src/main/java/com/iluwatar/decorator/App.java @@ -28,7 +28,7 @@ import org.slf4j.LoggerFactory; /** * The Decorator pattern is a more flexible alternative to subclassing. The Decorator class - * 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 * target. Using the Decorator pattern it is possible to change the behavior of the class during * runtime. *