Repository: commons-lang Updated Branches: refs/heads/master 51b2cabf2 -> 8a05e0b0f
make AnnotationUtilsTest#testAnnotationsOfDifferingTypes test what it was intended to test by making AnnotationUtilsTest.NestAnnotation visible at runtime (closes #218) Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/8a05e0b0 Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/8a05e0b0 Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/8a05e0b0 Branch: refs/heads/master Commit: 8a05e0b0f640289c32f2f261f35450532cc2a1aa Parents: 51b2cab Author: Andrii <[email protected]> Authored: Thu Nov 24 22:57:53 2016 +0200 Committer: pascalschumacher <[email protected]> Committed: Thu Nov 24 22:24:17 2016 +0100 ---------------------------------------------------------------------- src/test/java/org/apache/commons/lang3/AnnotationUtilsTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-lang/blob/8a05e0b0/src/test/java/org/apache/commons/lang3/AnnotationUtilsTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/lang3/AnnotationUtilsTest.java b/src/test/java/org/apache/commons/lang3/AnnotationUtilsTest.java index 5b0760e..cd0eda2 100644 --- a/src/test/java/org/apache/commons/lang3/AnnotationUtilsTest.java +++ b/src/test/java/org/apache/commons/lang3/AnnotationUtilsTest.java @@ -350,7 +350,8 @@ public class AnnotationUtilsTest { NestAnnotation nest(); NestAnnotation[] nests(); } - + + @Retention(RUNTIME) public @interface NestAnnotation { String string(); String[] strings();
