Fix init order issue in RequestMappingHandlerMapping

Issue: SPR-10173
This commit is contained in:
Rossen Stoyanchev
2013-01-21 14:52:41 -05:00
parent 902a136b6e
commit 660458a649
2 changed files with 49 additions and 3 deletions

View File

@@ -157,10 +157,10 @@ public class RequestMappingHandlerMapping extends RequestMappingInfoHandlerMappi
@Override
public void afterPropertiesSet() {
super.afterPropertiesSet();
if (this.useRegisteredSuffixPatternMatch) {
this.fileExtensions.addAll(contentNegotiationManager.getAllFileExtensions());
}
super.afterPropertiesSet();
}
/**