Repository: commons-lang Updated Branches: refs/heads/master 1b362986b -> 8c1a0d2ee
AnnotationTestUtils: remove unused import statement Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/8c1a0d2e Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/8c1a0d2e Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/8c1a0d2e Branch: refs/heads/master Commit: 8c1a0d2ee1433681958809b4a0fede65f62936e6 Parents: 1b36298 Author: pascalschumacher <[email protected]> Authored: Wed Nov 30 22:01:52 2016 +0100 Committer: pascalschumacher <[email protected]> Committed: Wed Nov 30 22:01:52 2016 +0100 ---------------------------------------------------------------------- .../commons/lang3/concurrent/annotation/AnnotationTestUtils.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-lang/blob/8c1a0d2e/src/test/java/org/apache/commons/lang3/concurrent/annotation/AnnotationTestUtils.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/lang3/concurrent/annotation/AnnotationTestUtils.java b/src/test/java/org/apache/commons/lang3/concurrent/annotation/AnnotationTestUtils.java index bcabac3..ea4bb3e 100644 --- a/src/test/java/org/apache/commons/lang3/concurrent/annotation/AnnotationTestUtils.java +++ b/src/test/java/org/apache/commons/lang3/concurrent/annotation/AnnotationTestUtils.java @@ -25,7 +25,6 @@ import org.apache.bcel.classfile.ElementValuePair; 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 @@ class AnnotationTestUtils { 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 @@ class AnnotationTestUtils { Assert.assertEquals(0, methods.length); } - }
