Browse Source

Polishing.

Original Pull Request: #2333
pull/2344/head
Christoph Strobl 5 years ago
parent
commit
85c0ce1450
  1. 10
      src/test/java/org/springframework/data/mapping/PreferredConstructorDiscovererUnitTests.java

10
src/test/java/org/springframework/data/mapping/PreferredConstructorDiscovererUnitTests.java

@ -223,15 +223,11 @@ class PreferredConstructorDiscovererUnitTests<P extends PersistentProperty<P>> {
static class ClassWithMetaAnnotatedParameter { static class ClassWithMetaAnnotatedParameter {
ClassWithMetaAnnotatedParameter(@MyValue String value) { ClassWithMetaAnnotatedParameter(@MyValue String value) { }
}
} }
@Target({ ElementType.PARAMETER, }) @Target(ElementType.PARAMETER)
@Retention(RetentionPolicy.RUNTIME) @Retention(RetentionPolicy.RUNTIME)
@Value("${hello-world}") @Value("${hello-world}")
@interface MyValue { @interface MyValue { }
}
} }

Loading…
Cancel
Save