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() {
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue