Fix checkstyle issues and test failures

See gh-27955
See gh-28442
This commit is contained in:
Phillip Webb
2022-05-10 18:32:41 -07:00
parent 83063a7269
commit 2961426d8a
3 changed files with 4 additions and 4 deletions

View File

@@ -95,4 +95,4 @@ class SpringFactoriesLoaderRuntimeHintsRegistrar implements RuntimeHintsRegistra
}
}
}
}

View File

@@ -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));
}