tmp = new HashMap();
i = errors.keySet().iterator();
while (i.hasNext()) {
FeatureTypeInfoDTO fti = (FeatureTypeInfoDTO) i.next();
tmp.put(fti.getKey(), fti.clone()); //DJB: changed to getKey() from getName() which was NOT unique!
}
dto.setFeaturesTypes(tmp);
return dto;