Rename <mvc:cachecontrol/> to <mvc:cache-control/>

This commit is contained in:
Brian Clozel
2015-07-21 12:09:25 +02:00
parent 9149bf7ad4
commit eef937e4f2
4 changed files with 5 additions and 5 deletions

View File

@@ -172,7 +172,7 @@ class ResourcesBeanDefinitionParser implements BeanDefinitionParser {
resourceHandlerDef.getPropertyValues().add("cacheSeconds", cacheSeconds);
}
Element cacheControlElement = DomUtils.getChildElementByTagName(element, "cachecontrol");
Element cacheControlElement = DomUtils.getChildElementByTagName(element, "cache-control");
if (cacheControlElement != null) {
CacheControl cacheControl = parseCacheControl(cacheControlElement);
resourceHandlerDef.getPropertyValues().add("cacheControl", cacheControl);