From fe7d7e2fc95f1dd64c592da9461aceb4e3be1a24 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Fri, 26 Jan 2018 09:51:54 +0100 Subject: [PATCH] Polish --- .../autoconfigure/endpoint/web/WebEndpointAutoConfiguration.java | 1 + 1 file changed, 1 insertion(+) diff --git a/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/endpoint/web/WebEndpointAutoConfiguration.java b/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/endpoint/web/WebEndpointAutoConfiguration.java index baa248ca88..85273f20ce 100644 --- a/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/endpoint/web/WebEndpointAutoConfiguration.java +++ b/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/endpoint/web/WebEndpointAutoConfiguration.java @@ -141,6 +141,7 @@ public class WebEndpointAutoConfiguration { ExposableControllerEndpoint.class, expose, exclude); } + @Configuration @ConditionalOnWebApplication(type = Type.SERVLET) static class WebEndpointServletAutoConfiguration {