polish
This commit is contained in:
parent
ce8718ebf2
commit
b9caa6c60f
|
|
@ -42,6 +42,7 @@ class MapToMap implements ConversionExecutor {
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
public Object execute(Object source) throws ConversionExecutionException {
|
public Object execute(Object source) throws ConversionExecutionException {
|
||||||
try {
|
try {
|
||||||
|
// TODO shouldn't do all this if generic info is null - should cache executor after first iteration?
|
||||||
Map map = (Map) source;
|
Map map = (Map) source;
|
||||||
Map targetMap = (Map) getImpl(targetType.getType()).newInstance();
|
Map targetMap = (Map) getImpl(targetType.getType()).newInstance();
|
||||||
Iterator<Map.Entry<?, ?>> it = map.entrySet().iterator();
|
Iterator<Map.Entry<?, ?>> it = map.entrySet().iterator();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue