diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/HalBrowserEndpoint.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/HalBrowserEndpoint.java index 6f0add7db9..4f28ff61e8 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/HalBrowserEndpoint.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/HalBrowserEndpoint.java @@ -38,7 +38,7 @@ public class HalBrowserEndpoint extends WebMvcConfigurerAdapter implements MvcEn private static final String HAL_BROWSER_LOCATION = "classpath:/META-INF/resources/webjars/hal-browser/" + HAL_BROWSER_VERSION + "/"; - private String path = ""; + private String path; private ManagementServerProperties management; diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/LinksMvcEndpoint.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/LinksMvcEndpoint.java index baab0c22be..5ad0fad831 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/LinksMvcEndpoint.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/LinksMvcEndpoint.java @@ -32,7 +32,7 @@ import org.springframework.web.bind.annotation.ResponseBody; @ConfigurationProperties("endpoints.links") public class LinksMvcEndpoint implements MvcEndpoint { - private String path = ""; + private String path; private boolean sensitive = false; public LinksMvcEndpoint(String defaultPath) {