Changeset 5409 in josm
- Timestamp:
- 2012-08-08T22:38:57+02:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/command/DeleteCommand.java
r5266 r5409 343 343 344 344 Collection<Relation> relationsToDelete = Utils.filteredCollection(primitivesToDelete, Relation.class); 345 if (!relationsToDelete.isEmpty() && !silent && !confirmRelationDeletion(relationsToDelete))345 if (!relationsToDelete.isEmpty() && !silent && !confirmRelationDeletion(relationsToDelete)) 346 346 return null; 347 347 … … 364 364 for (Way w : waysToBeChanged) { 365 365 Way wnew = new Way(w); 366 wnew.removeNodes( primitivesToDelete);366 wnew.removeNodes(OsmPrimitive.getFilteredSet(primitivesToDelete, Node.class)); 367 367 if (wnew.getNodesCount() < 2) { 368 368 primitivesToDelete.add(w);
Note:
See TracChangeset
for help on using the changeset viewer.