Fix checkstyle issues and test failures
See gh-27955 See gh-28442
This commit is contained in:
@@ -95,4 +95,4 @@ class SpringFactoriesLoaderRuntimeHintsRegistrar implements RuntimeHintsRegistra
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -48,14 +48,14 @@ class CoreAnnotationsRuntimeHintsRegistrarTests {
|
||||
@Test
|
||||
void aliasForHasHints() {
|
||||
assertThat(this.hints.reflection().getTypeHint(TypeReference.of(AliasFor.class)))
|
||||
.satisfies((hint) -> assertThat(hint.getMemberCategories())
|
||||
.satisfies(hint -> assertThat(hint.getMemberCategories())
|
||||
.containsExactly(MemberCategory.INVOKE_DECLARED_METHODS));
|
||||
}
|
||||
|
||||
@Test
|
||||
void orderAnnotationHasHints() {
|
||||
assertThat(this.hints.reflection().getTypeHint(TypeReference.of(Order.class)))
|
||||
.satisfies((hint) -> assertThat(hint.getMemberCategories())
|
||||
.satisfies(hint -> assertThat(hint.getMemberCategories())
|
||||
.containsExactly(MemberCategory.INVOKE_DECLARED_METHODS));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user