mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-25 00:09:02 +00:00
polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2630 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
+1
-1
@@ -93,7 +93,7 @@ final class CollectionToMapConverter implements ConditionalGenericConverter {
|
||||
else {
|
||||
Map target = CollectionFactory.createMap(targetType.getType(), sourceCollection.size());
|
||||
MapEntryConverter converter = new MapEntryConverter(sourceElementType, sourceElementType, targetKeyType,
|
||||
targetValueType, keysCompatible, valuesCompatible, conversionService);
|
||||
targetValueType, keysCompatible, valuesCompatible, this.conversionService);
|
||||
if (String.class.equals(sourceElementType.getType())) {
|
||||
for (Object element : sourceCollection) {
|
||||
String[] property = parseProperty((String) element);
|
||||
|
||||
Reference in New Issue
Block a user