diff --git a/org.springframework.core/src/main/java/org/springframework/core/convert/service/MapToMap.java b/org.springframework.core/src/main/java/org/springframework/core/convert/service/MapToMap.java index b6c6c31e516..93349fcc802 100644 --- a/org.springframework.core/src/main/java/org/springframework/core/convert/service/MapToMap.java +++ b/org.springframework.core/src/main/java/org/springframework/core/convert/service/MapToMap.java @@ -42,6 +42,7 @@ class MapToMap implements ConversionExecutor { @SuppressWarnings("unchecked") public Object execute(Object source) throws ConversionExecutionException { try { + // TODO shouldn't do all this if generic info is null - should cache executor after first iteration? Map map = (Map) source; Map targetMap = (Map) getImpl(targetType.getType()).newInstance(); Iterator> it = map.entrySet().iterator();