AnnotationTestUtils: remove unused import statement

This commit is contained in:
pascalschumacher 2016-11-30 22:01:52 +01:00
parent 1b362986bc
commit 8c1a0d2ee1

View File

@ -25,7 +25,6 @@
import org.apache.bcel.classfile.JavaClass;
import org.apache.commons.lang3.reflect.MethodUtils;
import org.junit.Assert;
import org.junit.Test;
class AnnotationTestUtils {
@ -40,7 +39,7 @@ public static void testClassAnnotationInClassFile(final String className, final
Assert.assertNotNull(elementValuePairs);
Assert.assertEquals(0, elementValuePairs.length);
}
public static void testMethodAnnotationNotRetainedAtRuntime(final Class<?> cls,
final Class<? extends Annotation> annotationCls) {
final Method[] methods = MethodUtils.getMethodsWithAnnotation(cls, annotationCls);
@ -48,5 +47,4 @@ public static void testMethodAnnotationNotRetainedAtRuntime(final Class<?> cls,
Assert.assertEquals(0, methods.length);
}
}