This commit is contained in:
Keith Donald 2009-03-31 17:52:16 +00:00
parent ce8718ebf2
commit b9caa6c60f
1 changed files with 1 additions and 0 deletions

View File

@ -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<Map.Entry<?, ?>> it = map.entrySet().iterator();