Replace hardcode with constant
This commit is contained in:
parent
1a32ce290e
commit
2ae6741009
1 changed files with 1 additions and 1 deletions
|
@ -330,7 +330,7 @@ public class OpenstreetmapRemoteUtil implements OpenstreetmapUtil {
|
|||
Node entity = (Node) st.getRegisteredEntities().get(id);
|
||||
// merge non existing tags
|
||||
for (String rtag : entity.getTagKeySet()) {
|
||||
if (!n.getTagKeySet().contains(rtag) && !n.getTagKeySet().contains("----" + rtag)) {
|
||||
if (!n.getTagKeySet().contains(rtag) && !n.getTagKeySet().contains(EditPoiData.REMOVE_TAG_PREFIX + rtag)) {
|
||||
n.putTagNoLC(rtag, entity.getTag(rtag));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue