Changeset 2682 in josm for trunk/src/org/openstreetmap/josm/data
- Timestamp:
- 2009-12-27T14:33:13+01:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/DataSet.java
r2657 r2682 182 182 o.add(osm); 183 183 } 184 return o; 185 } 186 187 /** 188 * @return A collection containing all modified primitives 189 */ 190 public Collection<OsmPrimitive> allModifiedPrimitives() { 191 Collection<OsmPrimitive> o = new LinkedList<OsmPrimitive>(); 192 for (OsmPrimitive osm : allPrimitives()) { 193 if (osm.isVisible() && osm.isModified()) { 194 o.add(osm); 195 } 196 } 184 197 return o; 185 198 }
Note:
See TracChangeset
for help on using the changeset viewer.