Changeset 2919 in josm for trunk/src/org
- Timestamp:
- 2010-02-01T21:06:09+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/OsmReader.java
r2852 r2919 258 258 ); 259 259 } 260 list.add(id); 260 if (current.deleted) { 261 logger.info(tr("Deleted way {0} contains nodes", current.id)); 262 } else { 263 list.add(id); 264 } 261 265 262 266 // ---- PARSING RELATIONS ---- … … 300 304 } 301 305 302 list.add(emd); 306 if (current.deleted) { 307 logger.info(tr("Deleted relation {0} contains members", current.id)); 308 } else { 309 list.add(emd); 310 } 303 311 304 312 // ---- PARSING TAGS (applicable to all objects) ---- … … 481 489 } 482 490 } 483 wayNodes.add(n); 491 if (n.isDeleted()) { 492 logger.warning(tr("Deleted node {0} was removed from way {1}", id, w.getId())); 493 } else { 494 wayNodes.add(n); 495 } 484 496 } 485 497 w.setNodes(wayNodes); … … 567 579 externalIdMap.put(new SimplePrimitiveId(rm.id, OsmPrimitiveType.fromApiTypeName(rm.type)), primitive); 568 580 } 569 relationMembers.add(new RelationMember(rm.role, primitive)); 581 if (primitive.isDeleted()) { 582 logger.warning(tr("Deleted member {0} was removed from relation {1}", primitive.getId(), relation.getId())); 583 } else { 584 relationMembers.add(new RelationMember(rm.role, primitive)); 585 } 570 586 } 571 587 relation.setMembers(relationMembers);
Note:
See TracChangeset
for help on using the changeset viewer.