Skip to content

Commit 72520cb

Browse files
committed
Update hamcrest-core/src/main/java/org/hamcrest/internal/ReflectiveTypeFinder.java
typo
1 parent bea82e1 commit 72520cb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎hamcrest-core/src/main/java/org/hamcrest/internal/ReflectiveTypeFinder.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
*
1414
* A <code>FeatureMatcher</code> is an abstract subclass of <code>TypeSafeDiagnosingMatcher</code>.
1515
* Although it has a templated implementation of <code>matchesSafely(&lt;T&gt;, Description);</code>, the
16-
* actually run-time signature of this is <code>matchesSafely(Object, Description);</code>. Instead,
16+
* actual run-time signature of this is <code>matchesSafely(Object, Description);</code>. Instead,
1717
* we must find the type by reflecting on the concrete implementation of
1818
* <pre>protected abstract U featureValueOf(T actual);</pre>
1919
* a method which is declared in <code>FeatureMatcher</code>.
@@ -67,4 +67,4 @@ protected boolean canObtainExpectedTypeFrom(Method method) {
6767
protected Class<?> expectedTypeFrom(Method method) {
6868
return method.getParameterTypes()[typedParameter];
6969
}
70-
}
70+
}

0 commit comments

Comments
 (0)