Issue #1554 fix XmlGenericMapAdapter to work with null maps.

Former-commit-id: 60c435861a [formerly 904e3387de59f534b6457c7a12e8f94d55974884]
Former-commit-id: 7220c4c6cc
This commit is contained in:
Ben Steffensmeier 2013-02-11 15:11:18 -06:00
parent 73c8533cbb
commit 21616e06ce

View file

@ -56,6 +56,10 @@ public class XmlGenericMapAdapter<K, V> extends
@Override
public MapType<K, V> marshal(Map<K, V> unserialized) throws Exception {
if (unserialized == null) {
return null;
}
MapType<K, V> mapType = new MapType<K, V>();
for (Map.Entry<K, V> entry : unserialized.entrySet()) {