Changeset 29648 in osm
- Timestamp:
- 2013-06-10T06:04:28+02:00 (12 years ago)
- Location:
- applications/editors/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/mirrored_download/src/mirrored_download/OverpassDownloadAction.java
r29643 r29648 41 41 public OverpassDownloadAction() { 42 42 super(tr("Download from Overpass API ..."), "download_mirror", tr("Download map data from Overpass API server."), 43 Shortcut.registerShortcut("overpass:download", tr("File: {0}", tr("Download from Overpass API ...")), KeyEvent.VK_DOWN, Shortcut.ALT_SHIFT), 43 /*Shortcut.registerShortcut("overpass:download", tr("File: {0}", tr("Download from Overpass API ...")), KeyEvent.VK_DOWN, Shortcut.ALT_SHIFT)*/null, 44 44 true, "overpassdownload/download", true); 45 45 putValue("help", ht("/Action/OverpassDownload")); … … 105 105 protected String getBaseUrl() { 106 106 String url = MirroredDownloadPlugin.getDownloadUrl(); 107 System.out.println(url.substring(url.length() - 5, url.length()));108 107 if ("xapi?".equals(url.substring(url.length() - 5, url.length()))) 109 {110 System.out.println(url.substring(0, url.length() - 5));111 108 return url.substring(0, url.length() - 5); 112 }113 109 else 114 110 return url;
Note:
See TracChangeset
for help on using the changeset viewer.