Changeset 6589 in josm


Ignore:
Timestamp:
2014-01-01T14:23:23+01:00 (10 years ago)
Author:
simon04
Message:

see #8566 - make URL patterns of DownloadOsmTask visible for subclasses

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/downloadtasks/DownloadOsmTask.java

    r6588 r6589  
    3737public class DownloadOsmTask extends AbstractDownloadTask {
    3838
    39     private static final String PATTERN_OSM_API_URL           = "http://.*/api/0.6/(map|nodes?|ways?|relations?|\\*).*";
    40     private static final String PATTERN_OVERPASS_API_URL      = "http://.*/interpreter\\?data=.*";
    41     private static final String PATTERN_OVERPASS_API_XAPI_URL = "http://.*/xapi(\\?.*\\[@meta\\]|_meta\\?).*";
    42     private static final String PATTERN_EXTERNAL_OSM_FILE     = "https?://.*/.*\\.osm";
     39    protected static final String PATTERN_OSM_API_URL           = "http://.*/api/0.6/(map|nodes?|ways?|relations?|\\*).*";
     40    protected static final String PATTERN_OVERPASS_API_URL      = "http://.*/interpreter\\?data=.*";
     41    protected static final String PATTERN_OVERPASS_API_XAPI_URL = "http://.*/xapi(\\?.*\\[@meta\\]|_meta\\?).*";
     42    protected static final String PATTERN_EXTERNAL_OSM_FILE     = "https?://.*/.*\\.osm";
    4343
    4444    protected Bounds currentBounds;
Note: See TracChangeset for help on using the changeset viewer.