Changed to be compatible with Spring 2.5. ManagedMap no longer has a constructor taking a map.

This commit is contained in:
Luke Taylor 2008-01-17 14:25:08 +00:00
parent ad92dbf389
commit a458d21b9f
1 changed files with 4 additions and 1 deletions

View File

@ -60,7 +60,10 @@ class FilterChainMapBeanDefinitionDecorator implements BeanDefinitionDecorator {
}
}
filterChainProxy.getPropertyValues().addPropertyValue("filterChainMap", new ManagedMap(filterChainMap));
ManagedMap map = new ManagedMap(filterChainMap.size());
map.putAll(filterChainMap);
filterChainProxy.getPropertyValues().addPropertyValue("filterChainMap", map);
return holder;
}