Changeset 21724 in osm for applications/editors/josm/plugins/reverter/src
- Timestamp:
- 2010-06-15T20:13:46+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/reverter/src/reverter/ChangesetReverter.java
r21700 r21724 81 81 } 82 82 } 83 if (p.getType() == OsmPrimitiveType.RELATION) {84 for (RelationMember member : ((HistoryRelation)p).getMembers()) {85 addIfMissing(new SimplePrimitiveId(member.getPrimitiveId(),86 member.getPrimitiveType()));87 }88 }89 83 } 90 84 } … … 96 90 for (Node nd : ((Way)p).getNodes()) { 97 91 addIfMissing(nd); 98 }99 }100 if (p.getType() == OsmPrimitiveType.RELATION) {101 for (org.openstreetmap.josm.data.osm.RelationMember member102 : ((Relation)p).getMembers()) {103 addIfMissing(member.getMember());104 92 } 105 93 }
Note:
See TracChangeset
for help on using the changeset viewer.