Changeset 12484 in josm for trunk/src


Ignore:
Timestamp:
2017-07-19T20:43:28+02:00 (7 years ago)
Author:
Don-vip
Message:

fix #15036 - Add provinces of China and India to data/boundaries.xml (patch by westnordost)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/Territories.java

    r11374 r12484  
    2727 */
    2828public final class Territories {
     29
     30    /** Internal OSM filename */
     31    public static final String FILENAME = "boundaries.osm";
    2932
    3033    private static final String ISO3166_1 = "ISO3166-1:alpha2";
     
    7982    public static synchronized void initialize() {
    8083        iso3166Cache = new HashMap<>();
    81         try (CachedFile cf = new CachedFile("resource://data/boundaries.osm");
     84        try (CachedFile cf = new CachedFile("resource://data/" + FILENAME);
    8285                InputStream is = cf.getInputStream()) {
    8386            dataSet = OsmReader.parseDataSet(is, null);
Note: See TracChangeset for help on using the changeset viewer.