]> git.uio.no Git - ifi-stolz-refaktor.git/commitdiff
Removing SafeVarArgs annotations.
authorErlend Kristiansen <erlenkr@ifi.uio.no>
Thu, 16 Jan 2014 10:59:08 +0000 (11:59 +0100)
committerErlend Kristiansen <erlenkr@ifi.uio.no>
Thu, 16 Jan 2014 10:59:08 +0000 (11:59 +0100)
software/no.uio.ifi.refaktor/src/no/uio/ifi/refaktor/RefaktorAssert.java

index 5dcfa72d2ed0dacdae1423ce8a56c0153c701198..c29b0d7d5708b7a26b9676e9132f5bebf3b0b116 100644 (file)
@@ -37,14 +37,12 @@ public class RefaktorAssert {
 
        /** Use this matcher instead of the one in org.hamcrest.CoreMatchers,
         * due to incompatibilities between libraries supplied with Juno and Kepler. */
-       @SafeVarargs
        public static <T> org.hamcrest.Matcher<java.lang.Iterable<T>> hasItems(T... items) {
                return no.uio.ifi.refaktor.IsCollectionContaining.<T>hasItems(items);
        }
 
        /** Use this matcher instead of the one in org.hamcrest.CoreMatchers,
         * due to incompatibilities between libraries supplied with Juno and Kepler. */
-       @SafeVarargs
        public static <T> org.hamcrest.Matcher<java.lang.Iterable<T>> hasItems(org.hamcrest.Matcher<? extends T>... itemMatchers) {
                return no.uio.ifi.refaktor.IsCollectionContaining.<T>hasItems(itemMatchers);
        }