Skip to content

Commit 9578cc8

Browse files
author
nat.pryce
committed
Corrected javadoc comment
1 parent 60e0a7f commit 9578cc8

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎hamcrest-library/src/main/java/org/hamcrest/TypeSafeMatcher.java‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,12 @@ protected TypeSafeMatcher(Class<T> expectedType) {
4747
/**
4848
* Method made final to prevent accidental override.
4949
* If you need to override this, there's no point on extending TypeSafeMatcher.
50-
* Instead, implement the Matcher interface directly.
50+
* Instead, extend the {@link BaseMatcher}.
5151
*/
5252
@SuppressWarnings({"unchecked"})
5353
public final boolean matches(Object item) {
5454
return item != null
5555
&& expectedType.isInstance(item)
5656
&& matchesSafely((T) item);
5757
}
58-
5958
}

0 commit comments

Comments
 (0)