Changeset 1930 in josm for trunk/src/org/openstreetmap/josm/corrector
- Timestamp:
- 2009-08-08T11:59:13+02:00 (15 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/corrector
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/corrector/ReverseWayTagCorrector.java
r1925 r1930 119 119 for (RelationMember member : relation.getMembers()) { 120 120 if (!member.member.hasEqualSemanticAttributes(oldway) 121 || member.role.length() == 0) {121 || !member.hasRole()) { 122 122 position++; 123 123 continue; … … 127 127 String newRole = null; 128 128 for (PrefixSuffixSwitcher prefixSuffixSwitcher : prefixSuffixSwitchers) { 129 newRole = prefixSuffixSwitcher.apply(member. role);130 if (!newRole.equals(member. role)) {129 newRole = prefixSuffixSwitcher.apply(member.getRole()); 130 if (!newRole.equals(member.getRole())) { 131 131 found = true; 132 132 break; -
trunk/src/org/openstreetmap/josm/corrector/RoleCorrectionTableModel.java
r1814 r1930 42 42 return NAME_FORMATTER.getName(roleCorrection.relation); 43 43 case 1: 44 return roleCorrection.member. role;44 return roleCorrection.member.getRole(); 45 45 case 2: 46 46 return roleCorrection.newRole;
Note:
See TracChangeset
for help on using the changeset viewer.