- Timestamp:
- 2015-11-10T15:44:49+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/relation/sort/RelationSorter.java
r8517 r8998 108 108 final Map<String, RelationMember> platformByName = new HashMap<>(); 109 109 for (RelationMember i : list) { 110 if ( "platform".equals(i.getRole())) {110 if (i.getRole().startsWith("platform")) { 111 111 final RelationMember old = platformByName.put(getStopName(i.getMember()), i); 112 112 if (old != null) { … … 119 119 final List<RelationMember> sorted = new ArrayList<>(list.size()); 120 120 for (RelationMember i : list) { 121 if ( "stop".equals(i.getRole())) {121 if (i.getRole().startsWith("stop")) { 122 122 sorted.add(i); 123 123 final RelationMember platform = platformByName.remove(getStopName(i.getMember()));
Note:
See TracChangeset
for help on using the changeset viewer.