Changeset 18332 in josm for trunk/test/unit/org/openstreetmap
- Timestamp:
- 2021-12-20T14:12:10+01:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/testutils/ThrowableRootCauseMatcher.java
r10397 r18332 3 3 4 4 import org.hamcrest.Description; 5 import org.hamcrest.Factory;6 5 import org.hamcrest.Matcher; 7 6 import org.hamcrest.TypeSafeMatcher; … … 54 53 * @return new {@code ThrowableRootCauseMatcher} instance 55 54 */ 56 @Factory57 55 public static <T extends Throwable> Matcher<T> hasRootCause(final Matcher<T> matcher) { 58 56 return new ThrowableRootCauseMatcher<>(matcher);
Note:
See TracChangeset
for help on using the changeset viewer.