Browse Source

Fix checkstyle violation

See gh-31449
pull/31452/head
dreis2211 4 years ago committed by Andy Wilkinson
parent
commit
3fcb6765b1
  1. 2
      spring-boot-project/spring-boot/src/main/java/org/springframework/boot/env/PropertySourceRuntimeHintsRegistrar.java

2
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/env/PropertySourceRuntimeHintsRegistrar.java vendored

@ -30,7 +30,7 @@ class PropertySourceRuntimeHintsRegistrar implements RuntimeHintsRegistrar { @@ -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…
Cancel
Save