Commit 7b4de092 authored by Stephane Nicoll's avatar Stephane Nicoll

Remove useless @ConfigurationProperties

Fixes gh-1972
parent 32efff3f
...@@ -21,7 +21,6 @@ import java.util.Map; ...@@ -21,7 +21,6 @@ import java.util.Map;
import org.springframework.boot.actuate.endpoint.Endpoint; import org.springframework.boot.actuate.endpoint.Endpoint;
import org.springframework.boot.autoconfigure.web.ErrorAttributes; import org.springframework.boot.autoconfigure.web.ErrorAttributes;
import org.springframework.boot.autoconfigure.web.ErrorController; import org.springframework.boot.autoconfigure.web.ErrorController;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.util.Assert; import org.springframework.util.Assert;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody; import org.springframework.web.bind.annotation.ResponseBody;
...@@ -34,7 +33,6 @@ import org.springframework.web.context.request.RequestContextHolder; ...@@ -34,7 +33,6 @@ import org.springframework.web.context.request.RequestContextHolder;
* *
* @author Dave Syer * @author Dave Syer
*/ */
@ConfigurationProperties(prefix = "error")
public class ManagementErrorEndpoint implements MvcEndpoint { public class ManagementErrorEndpoint implements MvcEndpoint {
private final ErrorAttributes errorAttributes; private final ErrorAttributes errorAttributes;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment