Keep order & don't overwrite conflict in map rendering types
This commit is contained in:
parent
14a19a8867
commit
44d2c694ee
1 changed files with 4 additions and 2 deletions
|
@ -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());
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue