- Timestamp:
- 2012-05-28T22:10:47+02:00 (13 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/AbstractPrimitive.java
r4684 r5251 27 27 /** 28 28 * This flag shows, that the properties have been changed by the user 29 * and on upload the object will be send to the server 29 * and on upload the object will be send to the server. 30 30 */ 31 31 protected static final int FLAG_MODIFIED = 1 << 0; 32 32 33 33 /** 34 * Th e visible flag indicates, that anobject is marked34 * This flag is false, if the object is marked 35 35 * as deleted on the server. 36 36 */ … … 54 54 55 55 /** 56 * Put several boolean flag to one short int field to save memory.56 * Put several boolean flags to one short int field to save memory. 57 57 * Other bits of this field are used in subclasses. 58 58 */ … … 67 67 * An id of 0 means an unknown id. The object has not been uploaded yet to 68 68 * know what id it will get. 69 *70 69 */ 71 70 protected long id = 0; -
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.