Changeset 343 in josm for trunk/src/org/openstreetmap/josm/data/osm/visitor/DeleteVisitor.java
- Timestamp:
- 2007-10-07T13:20:27+02:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/visitor/DeleteVisitor.java
r298 r343 1 1 // License: GPL. Copyright 2007 by Immanuel Scholz and others 2 /**3 */4 2 package org.openstreetmap.josm.data.osm.visitor; 5 3 6 4 import org.openstreetmap.josm.data.osm.DataSet; 7 import org.openstreetmap.josm.data.osm. Segment;5 import org.openstreetmap.josm.data.osm.Relation; 8 6 import org.openstreetmap.josm.data.osm.Node; 9 7 import org.openstreetmap.josm.data.osm.Way; … … 27 25 ds.nodes.remove(n); 28 26 } 29 public void visit(Segment ls) {30 ds.segments.remove(ls);31 }32 27 public void visit(Way w) { 33 28 ds.ways.remove(w); 34 29 } 30 public void visit(Relation e) { 31 ds.relations.remove(e); 32 } 35 33 }
Note:
See TracChangeset
for help on using the changeset viewer.