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