- Timestamp:
- 2007-06-15T03:58:05+02:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/org/openstreetmap/josm/actions/UploadAction.java
r242 r258 115 115 } 116 116 117 final Collection<OsmPrimitive> add = new LinkedList<OsmPrimitive>();118 final Collection<OsmPrimitive> update = new LinkedList<OsmPrimitive>();119 final Collection<OsmPrimitive> delete = new LinkedList<OsmPrimitive>();117 final LinkedList<OsmPrimitive> add = new LinkedList<OsmPrimitive>(); 118 final LinkedList<OsmPrimitive> update = new LinkedList<OsmPrimitive>(); 119 final LinkedList<OsmPrimitive> delete = new LinkedList<OsmPrimitive>(); 120 120 for (OsmPrimitive osm : Main.ds.allPrimitives()) { 121 121 if (osm.get("josm/ignore") != null) 122 122 continue; 123 123 if (osm.id == 0 && !osm.deleted) 124 add.add (osm);124 add.addLast(osm); 125 125 else if (osm.modified && !osm.deleted) 126 update.add (osm);126 update.addLast(osm); 127 127 else if (osm.deleted && osm.id != 0) 128 delete.add (osm);128 delete.addFirst(osm); 129 129 } 130 130
Note:
See TracChangeset
for help on using the changeset viewer.