Changeset 9656 in josm
- Timestamp:
- 2016-01-27T22:12:51+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/AbstractPrimitive.java
r9649 r9656 444 444 public void setKeys(TagMap keys) { 445 445 Map<String, String> originalKeys = getKeys(); 446 String[] arr = keys.getTagsArray(); 447 if (arr.length == 0) { 446 if (keys == null) { 448 447 this.keys = null; 449 448 } else { 450 this.keys = arr; 449 String[] arr = keys.getTagsArray(); 450 if (arr.length == 0) { 451 this.keys = null; 452 } else { 453 this.keys = arr; 454 } 451 455 } 452 456 keysChangedImpl(originalKeys);
Note:
See TracChangeset
for help on using the changeset viewer.