Changeset 17163 in josm for trunk/src/org/openstreetmap/josm/actions/JoinAreasAction.java
- Timestamp:
- 2020-10-11T14:24:00+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/JoinAreasAction.java
r17141 r17163 28 28 import org.openstreetmap.josm.command.ChangeCommand; 29 29 import org.openstreetmap.josm.command.ChangeNodesCommand; 30 import org.openstreetmap.josm.command.ChangePropertyCommand; 30 31 import org.openstreetmap.josm.command.Command; 31 32 import org.openstreetmap.josm.command.DeleteCommand; … … 1719 1720 private void stripTags(Collection<Way> ways) { 1720 1721 for (Way w : ways) { 1721 final Way wayWithoutTags = new Way(w); 1722 wayWithoutTags.removeAll(); 1723 cmds.add(new ChangeCommand(w, wayWithoutTags)); 1722 cmds.add(new ChangePropertyCommand(Collections.singleton(w), Collections.emptyMap())); 1724 1723 } 1725 1724 /* I18N: current action printed in status display */
Note:
See TracChangeset
for help on using the changeset viewer.