From 543a746de7903eeb35db4fb104088ee866897ac6 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Mon, 14 Dec 2015 19:07:48 +0000 Subject: [PATCH] Fix checkstyle issues See gh-4763 --- .../web/NonRecursivePropertyPlaceholderHelper.java | 2 +- .../web/DefaultErrorViewIntegrationTests.java | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) 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 2919e22e7b9..35a81397733 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 d5c0681905c..14777a70338 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"; - } - }