Merge pull request #31449 from dreis2211

* gh-31449:
  Fix checkstyle violation

Closes gh-31449
This commit is contained in:
Andy Wilkinson 2022-06-18 11:06:40 +01:00
commit 6988d5559a
1 changed files with 1 additions and 1 deletions

View File

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