Changeset 13927 in josm for trunk/src/org/openstreetmap/josm/actions/downloadtasks/DownloadOsmIdTask.java
- Timestamp:
- 2018-06-13T22:17:23+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/downloadtasks/DownloadOsmIdTask.java
r12634 r13927 32 32 33 33 @Override 34 public Future<?> loadUrl( boolean newLayer, String url, ProgressMonitor progressMonitor) {34 public Future<?> loadUrl(DownloadParams settings, String url, ProgressMonitor progressMonitor) { 35 35 final Matcher matcher = Pattern.compile(URL_ID_PATTERN).matcher(url); 36 36 if (matcher.matches()) { … … 39 39 final PrimitiveId primitiveId = new SimplePrimitiveId(id, type); 40 40 final DownloadPrimitivesWithReferrersTask downloadTask = new DownloadPrimitivesWithReferrersTask( 41 newLayer, Collections.singletonList(primitiveId), true, true, null, null);41 settings.isNewLayer(), Collections.singletonList(primitiveId), true, true, null, null); 42 42 return MainApplication.worker.submit(downloadTask); 43 43 } else {
Note:
See TracChangeset
for help on using the changeset viewer.