Fix create poi action npe
This commit is contained in:
parent
de7ed59380
commit
c30ceb2330
1 changed files with 2 additions and 2 deletions
|
@ -253,8 +253,8 @@ public class EditPoiData {
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean hasEmptyValue() {
|
public boolean hasEmptyValue() {
|
||||||
for (String value : tagValues.values()) {
|
for (Map.Entry<String, String> tag : tagValues.entrySet()) {
|
||||||
if (value.isEmpty()) {
|
if (tag.getValue().isEmpty() && !POI_TYPE_TAG.equals(tag.getKey())) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue