Changeset 28911 in osm for applications/editors/josm/plugins/mirrored_download/src
- Timestamp:
- 2012-11-09T17:46:58+01:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/mirrored_download/src/mirrored_download/MirroredDownloadPlugin.java
r28108 r28911 14 14 MainMenu.add(Main.main.menu.editMenu, new UrlSelectionAction()); 15 15 } 16 private static String downloadUrl = "http://overpass.osm.rambler.ru/cgi/xapi?";//"http://overpass-api.de/api/xapi?";16 private static String downloadUrl = null; 17 17 18 18 public static String getDownloadUrl() { 19 if (downloadUrl == null) 20 { 21 downloadUrl = Main.pref.get("plugin.mirrored_download.preferred-url"); 22 if (downloadUrl == null) 23 downloadUrl = "http://overpass-api.de/api/xapi?"; 24 } 19 25 return downloadUrl; 20 26 }
Note:
See TracChangeset
for help on using the changeset viewer.