Changeset 26125 in osm for applications/editors/josm/plugins/relcontext/src
- Timestamp:
- 2011-06-12T09:16:12+02:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/relcontext/src/relcontext/RelContextDialog.java
r25794 r26125 306 306 Set<Relation> relations = new TreeSet<Relation>(new Comparator<Relation>() { 307 307 public int compare( Relation r1, Relation r2 ) { 308 return r1.getDisplayName(formatter).compareTo(r2.getDisplayName(formatter)); 308 int diff = r1.getDisplayName(formatter).compareTo(r2.getDisplayName(formatter)); 309 return diff != 0 ? diff : r1.compareTo(r2); 309 310 } 310 311 });
Note:
See TracChangeset
for help on using the changeset viewer.