Minor, change annotation in test data

To fix this case in an upcoming test which adds retention(runtime) to all
annotations (which resulted in duplicate annotation here)
This commit is contained in:
Alexander Udalov
2014-10-30 17:46:45 +03:00
parent ae3c17d399
commit be08e33463
2 changed files with 10 additions and 3 deletions
@@ -1,11 +1,13 @@
package test;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
public interface EnumInParam {
public @interface MyRetention {
RetentionPolicy value();
}
@Retention(RetentionPolicy.RUNTIME)
@MyRetention(RetentionPolicy.RUNTIME)
public @interface RetentionAnnotation {
String value();
}