Ignore:
Timestamp:
2017-02-25T03:14:20+01:00 (2 years ago)
Author:
Don-vip
Message:

fix #14402 - add blacklist for leisure area values to avoid false positives - improve globally the detection of keys/tags

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/command/ChangePropertyKeyCommand.java

    r11362 r11608  
    9393            return false; // save old
    9494        for (OsmPrimitive osm : objects) {
    95             if (osm.hasKey(key) || osm.hasKey(newKey)) {
     95            String oldValue = osm.get(key);
     96            if (oldValue != null || osm.hasKey(newKey)) {
    9697                osm.setModified(true);
    97                 String oldValue = osm.get(key);
    9898                osm.put(newKey, oldValue);
    9999                osm.remove(key);
Note: See TracChangeset for help on using the changeset viewer.