Skip to content

Commit d55c5bb

Browse files
committed
Document that Matchers should be immutable (addresses Issue 93 on google code issue tracker).
1 parent 75092c7 commit d55c5bb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

hamcrest-core/src/main/java/org/hamcrest/Matcher.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@
1313
* <p/>
1414
* For easy access to common Matcher implementations, use the static factory
1515
* methods in {@link CoreMatchers}.
16-
*
16+
* <p/>
17+
* N.B. Well designed matchers should be immutable.
18+
*
1719
* @see CoreMatchers
1820
* @see BaseMatcher
1921
*/

0 commit comments

Comments
 (0)