- Timestamp:
- 2018-06-15T18:24:09+02:00 (6 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/downloadtasks/DownloadOsmTask.java
r13933 r13934 402 402 * @param reader OSM data reader 403 403 * @param progressMonitor progress monitor 404 * @deprecated Use {@link #DownloadTask(DownloadParams, OsmServerReader, ProgressMonitor)}404 * @deprecated Use {@link DownloadOsmTask.DownloadTask#DownloadTask(DownloadParams, OsmServerReader, ProgressMonitor)} 405 405 */ 406 406 @Deprecated … … 415 415 * @param progressMonitor progress monitor 416 416 * @param zoomAfterDownload If true, the map view will zoom to download area after download 417 * @deprecated Use {@link #DownloadTask(DownloadParams, OsmServerReader, ProgressMonitor, boolean)}417 * @deprecated Use {@link DownloadOsmTask.DownloadTask#DownloadTask(DownloadParams, OsmServerReader, ProgressMonitor, boolean)} 418 418 */ 419 419 @Deprecated -
trunk/src/org/openstreetmap/josm/gui/download/overpass/OverpassWizardRegistration.java
r13930 r13934 94 94 95 95 /** 96 * Wizard callbacks required by {@link Overpass QueryWizard#startWizard(OverpassWizardCallbacks)}96 * Wizard callbacks required by {@link OverpassWizardRegistration.OverpassQueryWizard#startWizard(OverpassWizardCallbacks)} 97 97 * @author Michael Zangl 98 98 * @since 13930 -
trunk/src/org/openstreetmap/josm/io/remotecontrol/handler/RequestHandler.java
r13929 r13934 308 308 } 309 309 310 private boolean get(String key) { 311 return get(key, Boolean::parseBoolean, () -> false); 312 } 313 310 314 private boolean isLoadInNewLayer() { 311 315 return get("new_layer", Boolean::parseBoolean, () -> Config.getPref().getBoolean(loadInNewLayerKey, loadInNewLayerDefault)); 312 }313 314 private boolean is(String key) {315 return get(key, Boolean::parseBoolean, () -> false);316 316 } 317 317 … … 320 320 .withNewLayer(isLoadInNewLayer()) 321 321 .withLayerName(args.get("layer_name")) 322 .withLocked( is("layer_locked"))322 .withLocked(get("layer_locked")) 323 323 .withDownloadPolicy(get("download_policy", DownloadPolicy::of, () -> DownloadPolicy.NORMAL)) 324 324 .withUploadPolicy(get("upload_policy", UploadPolicy::of, () -> UploadPolicy.NORMAL));
Note:
See TracChangeset
for help on using the changeset viewer.