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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user