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:
Michael Reiche
2021-08-17 11:21:52 -07:00
committed by GitHub
parent 07022c1e86
commit 6344b94825

View File

@@ -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 {
/**