Changeset 13935 in josm for trunk/src/org/openstreetmap/josm/io
- Timestamp:
- 2018-06-15T20:42:46+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/remotecontrol/handler/RequestHandler.java
r13934 r13935 317 317 318 318 protected DownloadParams getDownloadParams() { 319 return new DownloadParams() 319 DownloadParams result = new DownloadParams(); 320 if (args != null) { 321 result = result 320 322 .withNewLayer(isLoadInNewLayer()) 321 323 .withLayerName(args.get("layer_name")) … … 323 325 .withDownloadPolicy(get("download_policy", DownloadPolicy::of, () -> DownloadPolicy.NORMAL)) 324 326 .withUploadPolicy(get("upload_policy", UploadPolicy::of, () -> UploadPolicy.NORMAL)); 327 } 328 return result; 325 329 } 326 330
Note:
See TracChangeset
for help on using the changeset viewer.