diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/NonRecursivePropertyPlaceholderHelper.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/NonRecursivePropertyPlaceholderHelper.java index 2919e22e7b..35a8139773 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/NonRecursivePropertyPlaceholderHelper.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/NonRecursivePropertyPlaceholderHelper.java @@ -44,7 +44,7 @@ class NonRecursivePropertyPlaceholderHelper extends PropertyPlaceholderHelper { private final PlaceholderResolver resolver; - public NonRecursivePlaceholderResolver(PlaceholderResolver resolver) { + NonRecursivePlaceholderResolver(PlaceholderResolver resolver) { this.resolver = resolver; } diff --git a/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/web/DefaultErrorViewIntegrationTests.java b/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/web/DefaultErrorViewIntegrationTests.java index d5c0681905..14777a7033 100644 --- a/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/web/DefaultErrorViewIntegrationTests.java +++ b/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/web/DefaultErrorViewIntegrationTests.java @@ -106,6 +106,10 @@ public class DefaultErrorViewIntegrationTests { assertFalse("Wrong content: " + content, content.contains("injection")); } + public static String injectCall() { + return "injection"; + } + @Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME) @Documented @@ -128,8 +132,4 @@ public class DefaultErrorViewIntegrationTests { } - public static String injectCall() { - return "injection"; - } - }