Changeset 12634 in josm for trunk/src/org/openstreetmap/josm/actions/downloadtasks/DownloadOsmChangeTask.java
- Timestamp:
- 2017-08-24T15:54:00+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/downloadtasks/DownloadOsmChangeTask.java
r12630 r12634 77 77 // Extract .osc filename from URL to set the new layer name 78 78 extractOsmFilename("https?://.*/(.*\\.osc)", url); 79 return Main .worker.submit(downloadTask);79 return MainApplication.worker.submit(downloadTask); 80 80 } 81 81 … … 123 123 if (isCanceled()) return; 124 124 // Let's load all required history 125 Main .worker.submit(new HistoryLoaderAndListener(toLoad));125 MainApplication.worker.submit(new HistoryLoaderAndListener(toLoad)); 126 126 } catch (RejectedExecutionException e) { 127 127 rememberException(e); … … 200 200 // Some primitives still need to be loaded 201 201 // Let's load all required history 202 Main .worker.submit(new HistoryLoaderAndListener(toLoadNext));202 MainApplication.worker.submit(new HistoryLoaderAndListener(toLoadNext)); 203 203 } 204 204 }
Note:
See TracChangeset
for help on using the changeset viewer.