Changeset 3089 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2010-03-05T22:31:16+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/command/PurgePrimitivesCommand.java
r3083 r3089 8 8 import java.util.Collections; 9 9 import java.util.HashSet; 10 import java.util.List;11 10 import java.util.Set; 12 11 import java.util.logging.Logger; … … 146 145 origVersionsOfTouchedPrimitives.add(w); 147 146 } 148 List<Node> wayNodes = w.getNodes(); 149 wayNodes.remove(child); 150 w.setNodes(wayNodes); 147 w.removeNode((Node)child); 151 148 // if a way ends up with less than two nodes we 152 149 // remember it on the "hive"
Note:
See TracChangeset
for help on using the changeset viewer.