Skip to content

Commit cec8e4f

Browse files
committed
iluwatar#107 JavaDoc for Specification
1 parent 4bf2e3f commit cec8e4f

File tree

2 files changed

+8
-3
lines changed
  • specification/src
    • main/java/com/iluwatar/specification/app
    • test/java/com/iluwatar/specification/app

2 files changed

+8
-3
lines changed

specification/src/main/java/com/iluwatar/specification/app/App.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@
1818

1919
/**
2020
*
21-
* The central idea of Specification pattern is to separate the statement of how to match a candidate, from the
21+
* The central idea of the Specification pattern is to separate the statement of how to match a candidate, from the
2222
* candidate object that it is matched against. As well as its usefulness in selection, it is also valuable for
2323
* validation and for building to order.
24-
*
24+
* <p>
2525
* In this example we have a pool of creatures with different properties. We then have defined separate selection
2626
* rules (Specifications) that we apply to the collection and as output receive only the creatures that match
2727
* the selection criteria.
28-
*
28+
* <p>
2929
* http://martinfowler.com/apsupp/spec.pdf
3030
*
3131
*/

specification/src/test/java/com/iluwatar/specification/app/AppTest.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44

55
import com.iluwatar.specification.app.App;
66

7+
/**
8+
*
9+
* Application test
10+
*
11+
*/
712
public class AppTest {
813

914
@Test

0 commit comments

Comments
 (0)