Ignore:
Timestamp:
2010-06-15T20:13:46+02:00 (15 years ago)
Author:
upliner
Message:

reverter: Don't download incomplete members for reverted relations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/reverter/src/reverter/ChangesetReverter.java

    r21700 r21724  
    8181                }
    8282            }
    83             if (p.getType() == OsmPrimitiveType.RELATION) {
    84                 for (RelationMember member : ((HistoryRelation)p).getMembers()) {
    85                     addIfMissing(new SimplePrimitiveId(member.getPrimitiveId(),
    86                             member.getPrimitiveType()));
    87                 }
    88             }
    8983        }
    9084    }
     
    9690                for (Node nd : ((Way)p).getNodes()) {
    9791                    addIfMissing(nd);
    98                 }
    99             }
    100             if (p.getType() == OsmPrimitiveType.RELATION) {
    101                 for (org.openstreetmap.josm.data.osm.RelationMember member
    102                         : ((Relation)p).getMembers()) {
    103                     addIfMissing(member.getMember());
    10492                }
    10593            }
Note: See TracChangeset for help on using the changeset viewer.