From 0862ad7f5286e189d8f40a37be195823af515e92 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Tue, 20 Oct 2015 15:28:24 +0100 Subject: [PATCH] Polishing: remove dead code --- ...ointWebMvcHypermediaManagementContextConfiguration.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/EndpointWebMvcHypermediaManagementContextConfiguration.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/EndpointWebMvcHypermediaManagementContextConfiguration.java index 55b0051768..592e0f2311 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/EndpointWebMvcHypermediaManagementContextConfiguration.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/EndpointWebMvcHypermediaManagementContextConfiguration.java @@ -49,7 +49,6 @@ import org.springframework.boot.autoconfigure.web.ResourceProperties; import org.springframework.boot.autoconfigure.web.ServerProperties; import org.springframework.boot.context.properties.EnableConfigurationProperties; import org.springframework.context.annotation.Bean; -import org.springframework.context.annotation.Configuration; import org.springframework.core.MethodParameter; import org.springframework.core.annotation.AnnotationUtils; import org.springframework.core.io.ResourceLoader; @@ -136,12 +135,6 @@ public class EndpointWebMvcHypermediaManagementContextConfiguration { return new DefaultCurieProvider("boot", new UriTemplate(path)); } - @ConditionalOnProperty(prefix = "endpoints.actuator", name = "enabled", matchIfMissing = true) - @Configuration - static class ActuatorMvcEndpointConfiguration { - - } - /** * Controller advice that adds links to the actuator endpoint's path. */