Skip to content

Commit 6344b94

Browse files
authored
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.
1 parent 07022c1 commit 6344b94

File tree

1 file changed

+1
-1
lines changed
  • src/main/java/org/springframework/data/couchbase/core/mapping

1 file changed

+1
-1
lines changed

src/main/java/org/springframework/data/couchbase/core/mapping/Expiry.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
@Persistent
3434
@Inherited
3535
@Retention(RetentionPolicy.RUNTIME)
36-
@Target({ ElementType.TYPE })
36+
@Target({ ElementType.TYPE, ElementType.ANNOTATION_TYPE })
3737
public @interface Expiry {
3838

3939
/**

0 commit comments

Comments
 (0)