Ignore:
Timestamp:
2009-08-08T11:59:13+02:00 (15 years ago)
Author:
jttt
Message:

Replace RelationMember.role with RelationMember.getRole() and RelationMember.hasRole()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/OsmWriter.java

    r1925 r1930  
    135135                out.print(OsmPrimitiveType.from(em.member).getAPIName());
    136136                out.println("' ref='"+getUsedId(em.member)+"' role='" +
    137                         XmlWriter.encode(em.role == null ? "" : em.role) + "' />");
     137                        XmlWriter.encode(em.getRole()) + "' />");
    138138            }
    139139            addTags(e, "relation", false);
Note: See TracChangeset for help on using the changeset viewer.