Add target annotation to expiry annotation. (#1193)
It should have already had this as it was being used as an annotation in AirportRepository.ComposedMetaAnnotation. I believe a recent update to intellij now flags it as an error in the IDE. Closes #1192.
This commit is contained in:
@@ -33,7 +33,7 @@ import org.springframework.data.annotation.Persistent;
|
||||
@Persistent
|
||||
@Inherited
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target({ ElementType.TYPE })
|
||||
@Target({ ElementType.TYPE, ElementType.ANNOTATION_TYPE })
|
||||
public @interface Expiry {
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user