Browse Source

Remove a redundant setUseSuffixPatternMatch(false)

Closes gh-4656
pull/4603/merge
Johnny Lim 10 years ago committed by Andy Wilkinson
parent
commit
a4baacc549
  1. 1
      spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/EndpointHandlerMapping.java

1
spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/EndpointHandlerMapping.java

@ -80,7 +80,6 @@ public class EndpointHandlerMapping extends RequestMappingHandlerMapping { @@ -80,7 +80,6 @@ public class EndpointHandlerMapping extends RequestMappingHandlerMapping {
CorsConfiguration corsConfiguration) {
this.endpoints = new HashSet<MvcEndpoint>(endpoints);
this.corsConfiguration = corsConfiguration;
setUseSuffixPatternMatch(false);
// By default the static resource handler mapping is LOWEST_PRECEDENCE - 1
// and the RequestMappingHandlerMapping is 0 (we ideally want to be before both)
setOrder(-100);

Loading…
Cancel
Save