Index: trunk/test/unit/org/openstreetmap/josm/testutils/ThrowableRootCauseMatcher.java
===================================================================
--- trunk/test/unit/org/openstreetmap/josm/testutils/ThrowableRootCauseMatcher.java	(revision 18327)
+++ trunk/test/unit/org/openstreetmap/josm/testutils/ThrowableRootCauseMatcher.java	(revision 18332)
@@ -3,5 +3,4 @@
 
 import org.hamcrest.Description;
-import org.hamcrest.Factory;
 import org.hamcrest.Matcher;
 import org.hamcrest.TypeSafeMatcher;
@@ -54,5 +53,4 @@
      * @return new {@code ThrowableRootCauseMatcher} instance
      */
-    @Factory
     public static <T extends Throwable> Matcher<T> hasRootCause(final Matcher<T> matcher) {
         return new ThrowableRootCauseMatcher<>(matcher);
