diff --git a/state/src/main/java/com/iluwatar/state/App.java b/state/src/main/java/com/iluwatar/state/App.java index 5b39d02f7..95d411076 100644 --- a/state/src/main/java/com/iluwatar/state/App.java +++ b/state/src/main/java/com/iluwatar/state/App.java @@ -2,10 +2,14 @@ package com.iluwatar.state; /** * - * In State pattern the container object ({@link Mammoth}) has an internal state object ({@link State}) that + * In State pattern the container object has an internal state object that * defines the current behavior. The state object can be changed to alter the * behavior. *

+ * This can be a cleaner way for an object to change its behavior at runtime + * without resorting to large monolithic conditional statements and thus improves + * maintainability. + *

* In this example the {@link Mammoth} changes its behavior as time passes by. * */