Changeset 7098 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2014-05-10T20:07:23+02:00 (11 years ago)
Author:
Don-vip
Message:

fix #9632 - fix relation comparator

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/DefaultNameFormatter.java

    r7018 r7098  
    370370                formatRelationNameAndType(r2, name2, preset2);
    371371
    372                 int comp = name1.toString().compareTo(name2.toString());
     372                int comp = AlphanumComparator.getInstance().compare(name1.toString(), name2.toString());
    373373                if (comp != 0)
    374374                    return comp;
     
    496496        return buildDefaultToolTip(primitive.getId(), primitive.getKeys());
    497497    }
    498    
     498
    499499    private String buildDefaultToolTip(long id, Map<String, String> tags) {
    500500        StringBuilder sb = new StringBuilder();
Note: See TracChangeset for help on using the changeset viewer.