From 3fcb6765b1e108192e4bfde83f752ed3e3013b48 Mon Sep 17 00:00:00 2001 From: dreis2211 Date: Fri, 17 Jun 2022 16:52:41 +0200 Subject: [PATCH] Fix checkstyle violation See gh-31449 --- .../boot/env/PropertySourceRuntimeHintsRegistrar.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))); } }