From a4baacc5493fa7259af75c62236fb6a26b3589ca Mon Sep 17 00:00:00 2001 From: Johnny Lim Date: Wed, 2 Dec 2015 11:58:53 +0900 Subject: [PATCH] Remove a redundant setUseSuffixPatternMatch(false) Closes gh-4656 --- .../boot/actuate/endpoint/mvc/EndpointHandlerMapping.java | 1 - 1 file changed, 1 deletion(-) diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/EndpointHandlerMapping.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/EndpointHandlerMapping.java index 8f1635ae40..16d194e466 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/EndpointHandlerMapping.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/EndpointHandlerMapping.java @@ -80,7 +80,6 @@ public class EndpointHandlerMapping extends RequestMappingHandlerMapping { CorsConfiguration corsConfiguration) { this.endpoints = new HashSet(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);