mirror of
https://github.com/apache/commons-lang.git
synced 2025-02-09 11:34:55 +00:00
AnnotationTestUtils: remove unused import statement
This commit is contained in:
parent
1b362986bc
commit
8c1a0d2ee1
@ -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);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user