Skip to content

Commit 85c0ce1

Browse files
Polishing.
Original Pull Request: #2333
1 parent 79ed0a7 commit 85c0ce1

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

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

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -223,15 +223,11 @@ public NonStaticInnerWithGenericArgUsedInCtor(T value) {
223223

224224
static class ClassWithMetaAnnotatedParameter {
225225

226-
ClassWithMetaAnnotatedParameter(@MyValue String value) {
227-
228-
}
226+
ClassWithMetaAnnotatedParameter(@MyValue String value) { }
229227
}
230228

231-
@Target({ ElementType.PARAMETER, })
229+
@Target(ElementType.PARAMETER)
232230
@Retention(RetentionPolicy.RUNTIME)
233231
@Value("${hello-world}")
234-
@interface MyValue {
235-
236-
}
232+
@interface MyValue { }
237233
}

0 commit comments

Comments
 (0)