Changeset 5251 in josm for trunk/src/org/openstreetmap/josm/io
- Timestamp:
- 2012-05-28T22:10:47+02:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/OsmServerBackreferenceReader.java
r3362 r5251 203 203 * 204 204 * <ul> 205 * <li>if this reader reads referers for a n{@see Node}, referring ways are always205 * <li>if this reader reads referers for a {@see Node}, referring ways are always 206 206 * read individually from the server</li> 207 207 * <li>if this reader reads referers for an {@see Way} or a {@see Relation}, referring relations … … 222 222 if (isReadFull() ||primitiveType.equals(OsmPrimitiveType.NODE)) { 223 223 for (Way way: waysToCheck) { 224 if (!way.isNew() && way. isIncomplete()) {224 if (!way.isNew() && way.hasIncompleteNodes()) { 225 225 OsmServerObjectReader reader = new OsmServerObjectReader(way.getId(), OsmPrimitiveType.from(way), true /* read full */); 226 226 DataSet wayDs = reader.parseOsm(progressMonitor.createSubTaskMonitor(1, false)); … … 233 233 Collection<Relation> relationsToCheck = new ArrayList<Relation>(ds.getRelations()); 234 234 for (Relation relation: relationsToCheck) { 235 if (!relation.isNew() && relation. isIncomplete()) {235 if (!relation.isNew() && relation.hasIncompleteMembers()) { 236 236 OsmServerObjectReader reader = new OsmServerObjectReader(relation.getId(), OsmPrimitiveType.from(relation), true /* read full */); 237 237 DataSet wayDs = reader.parseOsm(progressMonitor.createSubTaskMonitor(1, false));
Note:
See TracChangeset
for help on using the changeset viewer.