Changeset 29971 in osm
- Timestamp:
- 2013-09-27T00:53:44+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/OSMEntityBase.java
r25373 r29971 163 163 protected void setOSMTag(String tag, String newValue) { 164 164 CheckParameterUtil.ensureParameterNotNull(tag, "tag"); 165 if (StringUtils.isNullOrEmpty(tag)) return;165 166 166 167 167 if (osmObject != null) { 168 String existingValue = osmObject.get(tag); 169 // Bugfix #9047: Keep existing values 170 if (!StringUtils.isNullOrEmpty(existingValue)) { 171 return; 172 } 173 168 174 if ((osmObject.hasKey(tag) && newValue == null) || newValue != null) { 169 175 fireCommandIssued(new ChangePropertyCommand(osmObject, tag, newValue));
Note:
See TracChangeset
for help on using the changeset viewer.