Fix checkstyle violation

See gh-31449
This commit is contained in:
dreis2211 2022-06-17 16:52:41 +02:00 committed by Andy Wilkinson
parent b88e1e0983
commit 3fcb6765b1
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ class PropertySourceRuntimeHintsRegistrar implements RuntimeHintsRegistrar {
@Override
public void registerHints(RuntimeHints hints, ClassLoader classLoader) {
hints.reflection().registerTypeIfPresent(classLoader, "org.yaml.snakeyaml.Yaml",
hint -> hint.onReachableType(TypeReference.of(YamlPropertySourceLoader.class)));
(hint) -> hint.onReachableType(TypeReference.of(YamlPropertySourceLoader.class)));
}
}