Fix create poi action npe

This commit is contained in:
Dima-1 2020-07-06 13:20:47 +03:00
parent de7ed59380
commit c30ceb2330

View file

@ -253,8 +253,8 @@ public class EditPoiData {
}
public boolean hasEmptyValue() {
for (String value : tagValues.values()) {
if (value.isEmpty()) {
for (Map.Entry<String, String> tag : tagValues.entrySet()) {
if (tag.getValue().isEmpty() && !POI_TYPE_TAG.equals(tag.getKey())) {
return true;
}
}