Changeset 7113 in josm for trunk/src/org
- Timestamp:
- 2014-05-12T21:51:14+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/properties/PropertiesDialog.java
r7025 r7113 666 666 @Override public int compare(Relation o1, Relation o2) { 667 667 int comp = Boolean.valueOf(o1.isDisabledAndHidden()).compareTo(o2.isDisabledAndHidden()); 668 if (comp == 0) { 669 comp = o1.getDisplayName(DefaultNameFormatter.getInstance()).compareTo(o2.getDisplayName(DefaultNameFormatter.getInstance())); 670 } 671 return comp; 668 return comp != 0 ? comp : DefaultNameFormatter.getInstance().getRelationComparator().compare(o1, o2); 672 669 }} 673 670 );
Note:
See TracChangeset
for help on using the changeset viewer.