From d89f3f9f2a8da59eec061906704a7848d3a3f1cb Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Thu, 14 Sep 2017 14:58:35 +0200 Subject: [PATCH] Remove useless ConfigurationProperties on HeapDumpEndpoint Closes gh-10263 --- .../boot/actuate/management/HeapDumpWebEndpoint.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/management/HeapDumpWebEndpoint.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/management/HeapDumpWebEndpoint.java index 4d61f05431..ef3c9393b4 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/management/HeapDumpWebEndpoint.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/management/HeapDumpWebEndpoint.java @@ -40,7 +40,6 @@ import org.springframework.boot.actuate.endpoint.EndpointExposure; import org.springframework.boot.actuate.endpoint.annotation.Endpoint; import org.springframework.boot.actuate.endpoint.annotation.ReadOperation; import org.springframework.boot.actuate.endpoint.web.WebEndpointResponse; -import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.core.io.FileSystemResource; import org.springframework.core.io.Resource; import org.springframework.http.HttpStatus; @@ -56,7 +55,6 @@ import org.springframework.util.ReflectionUtils; * @author Andy Wilkinson * @since 2.0.0 */ -@ConfigurationProperties(prefix = "endpoints.heapdump") @Endpoint(id = "heapdump", exposure = EndpointExposure.WEB) public class HeapDumpWebEndpoint {