Keep order & don't overwrite conflict in map rendering types

This commit is contained in:
vshcherb 2013-08-27 09:46:25 +02:00
parent 14a19a8867
commit 44d2c694ee

View file

@ -128,8 +128,10 @@ public class MapRenderingTypes {
if (t != null) {
if (amenityNameToType.containsKey(t)) {
System.err.println("Conflict " + t + " " + amenityNameToType.get(t) + " <> " + e.getKey());
}
} else {
amenityNameToType.put(t, e.getKey());
}
}
}
}