mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Merge pull request #31449 from dreis2211
* gh-31449: Fix checkstyle violation Closes gh-31449
This commit is contained in:
commit
6988d5559a
@ -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)));
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user