diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/env/PropertySourceRuntimeHintsRegistrar.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/env/PropertySourceRuntimeHintsRegistrar.java index 33181f29f32..f14aad54f01 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/env/PropertySourceRuntimeHintsRegistrar.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/env/PropertySourceRuntimeHintsRegistrar.java @@ -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))); } }