From 2ae67410091e12270c616722a35fd979418da4c9 Mon Sep 17 00:00:00 2001 From: Alexander Sytnyk Date: Tue, 19 Dec 2017 12:38:31 +0200 Subject: [PATCH] Replace hardcode with constant --- OsmAnd/src/net/osmand/plus/osmedit/OpenstreetmapRemoteUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/osmedit/OpenstreetmapRemoteUtil.java b/OsmAnd/src/net/osmand/plus/osmedit/OpenstreetmapRemoteUtil.java index 15fab879fc..f0df9f2f38 100644 --- a/OsmAnd/src/net/osmand/plus/osmedit/OpenstreetmapRemoteUtil.java +++ b/OsmAnd/src/net/osmand/plus/osmedit/OpenstreetmapRemoteUtil.java @@ -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)); } }