Ignore:
Timestamp:
2009-08-08T08:52:03+02:00 (15 years ago)
Author:
jttt
Message:

Replaced Relation.members with Relation.getMembers()

Location:
trunk/src/org/openstreetmap/josm/command
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/command/DeleteCommand.java

    r1924 r1925  
    164164        PrimitiveNameFormatter formatter = new PrimitiveNameFormatter();
    165165        String role = new String();
    166         for (RelationMember m : ref.members) {
     166        for (RelationMember m : ref.getMembers()) {
    167167            if (m.member == osm) {
    168168                role = m.role;
  • trunk/src/org/openstreetmap/josm/command/PurgePrimitivesCommand.java

    r1910 r1925  
    119119            } else if (parent instanceof Relation) {
    120120                Relation r = (Relation)parent;
    121                 for (RelationMember member : r.members) {
     121                for (RelationMember member : r.getMembers()) {
    122122                    if (member.member == child) {
    123123                        OsmParentChildPair pair = new OsmParentChildPair(parent, member.member);
Note: See TracChangeset for help on using the changeset viewer.