Changeset 2381 in josm for trunk/src/org/openstreetmap/josm/io
- Timestamp:
- 2009-11-02T07:51:28+01:00 (15 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/io
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/OsmServerBackreferenceReader.java
r2361 r2381 221 221 progressMonitor.beginTask(null, 2); 222 222 try { 223 Collection<Way> waysToCheck = new ArrayList<Way>(ds. ways);223 Collection<Way> waysToCheck = new ArrayList<Way>(ds.getWays()); 224 224 if (isReadFull() ||primitiveType.equals(OsmPrimitiveType.NODE)) { 225 225 for (Way way: waysToCheck) { … … 233 233 } 234 234 if (isReadFull()) { 235 Collection<Relation> relationsToCheck = new ArrayList<Relation>(ds. relations);235 Collection<Relation> relationsToCheck = new ArrayList<Relation>(ds.getRelations()); 236 236 for (Relation relation: relationsToCheck) { 237 237 if (!relation.isNew() && relation.incomplete) { -
trunk/src/org/openstreetmap/josm/io/OsmWriter.java
r2327 r2381 72 72 73 73 public void writeContent(DataSet ds) { 74 for (Node n : ds. nodes)74 for (Node n : ds.getNodes()) { 75 75 if (shouldWrite(n)) { 76 76 visit(n); 77 77 } 78 for (Way w : ds.ways) 78 } 79 for (Way w : ds.getWays()) { 79 80 if (shouldWrite(w)) { 80 81 visit(w); 81 82 } 82 for (Relation e : ds.relations) 83 } 84 for (Relation e : ds.getRelations()) { 83 85 if (shouldWrite(e)) { 84 86 visit(e); 85 87 } 88 } 86 89 } 87 90
Note:
See TracChangeset
for help on using the changeset viewer.