Fix exception traces
This commit is contained in:
parent
c2c0ec5303
commit
c515f2cbc2
1 changed files with 1 additions and 1 deletions
|
@ -281,7 +281,7 @@ public class MapRenderingTypes {
|
|||
for (String tag : tags.keySet()) {
|
||||
String val = tags.get(tag);
|
||||
MapRulType rType = getAmenityRuleType(tag, val);
|
||||
if (rType != null && val.length() > 0) {
|
||||
if (rType != null && val != null && val.length() > 0) {
|
||||
if(rType == nameEnRuleType && Algorithms.objectEquals(val, tags.get(OSMTagKey.NAME))) {
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue