diff --git a/specification/src/main/java/com/iluwatar/specification/app/App.java b/specification/src/main/java/com/iluwatar/specification/app/App.java index 7a5f00a5c..642278f16 100644 --- a/specification/src/main/java/com/iluwatar/specification/app/App.java +++ b/specification/src/main/java/com/iluwatar/specification/app/App.java @@ -18,14 +18,14 @@ import com.iluwatar.specification.selector.MovementSelector; /** * - * The central idea of Specification pattern is to separate the statement of how to match a candidate, from the + * The central idea of the Specification pattern is to separate the statement of how to match a candidate, from the * candidate object that it is matched against. As well as its usefulness in selection, it is also valuable for * validation and for building to order. - * + *

* In this example we have a pool of creatures with different properties. We then have defined separate selection * rules (Specifications) that we apply to the collection and as output receive only the creatures that match * the selection criteria. - * + *

* http://martinfowler.com/apsupp/spec.pdf * */ diff --git a/specification/src/test/java/com/iluwatar/specification/app/AppTest.java b/specification/src/test/java/com/iluwatar/specification/app/AppTest.java index 8e27167dc..31965336c 100644 --- a/specification/src/test/java/com/iluwatar/specification/app/AppTest.java +++ b/specification/src/test/java/com/iluwatar/specification/app/AppTest.java @@ -4,6 +4,11 @@ import org.junit.Test; import com.iluwatar.specification.app.App; +/** + * + * Application test + * + */ public class AppTest { @Test