Skip to content

Commit 950ab88

Browse files
author
nat.pryce
committed
Fix for Issue 106 : deprecation warning when writing custom matchers
1 parent bc04aff commit 950ab88

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ public abstract class BaseMatcher<T> implements Matcher<T> {
1212
/**
1313
* @see Matcher#_dont_implement_Matcher___instead_extend_BaseMatcher_()
1414
*/
15+
@Deprecated
1516
public final void _dont_implement_Matcher___instead_extend_BaseMatcher_() {
1617
// See Matcher interface for an explanation of this method.
1718
}

0 commit comments

Comments
 (0)