Commit a4baacc5 authored by Johnny Lim's avatar Johnny Lim Committed by Andy Wilkinson

Remove a redundant setUseSuffixPatternMatch(false)

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