Changeset 32056 in osm for applications


Ignore:
Timestamp:
2016-02-09T16:20:07+01:00 (9 years ago)
Author:
simon04
Message:

JOSM/wikipedia: Use alphanumeric comparison for article names - see #josm12510

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/wikipedia/src/org/wikipedia/WikipediaApp.java

    r32003 r32056  
    3232import org.openstreetmap.josm.data.osm.OsmPrimitive;
    3333import org.openstreetmap.josm.data.osm.Tag;
     34import org.openstreetmap.josm.tools.AlphanumComparator;
    3435import org.openstreetmap.josm.tools.CheckParameterUtil;
    3536import org.openstreetmap.josm.tools.HttpClient;
     
    415416        @Override
    416417        public int compareTo(WikipediaEntry o) {
    417             return name.compareTo(o.name);
     418            return AlphanumComparator.getInstance().compare(name, o.name);
    418419        }
    419420    }
Note: See TracChangeset for help on using the changeset viewer.