Ignore:
Timestamp:
2018-06-16T02:31:16+02:00 (6 years ago)
Author:
donvip
Message:

update to JOSM 13927

Location:
applications/editors/josm/plugins/pbf
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/pbf/build.xml

    r34098 r34295  
    33
    44    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    5     <property name="plugin.main.version" value="13559"/>
     5    <property name="plugin.main.version" value="13927"/>
    66
    77    <property name="plugin.author" value="Don-vip"/>
  • applications/editors/josm/plugins/pbf/src/org/openstreetmap/josm/plugins/pbf/action/DownloadPbfTask.java

    r33568 r34295  
    77
    88import org.openstreetmap.josm.actions.downloadtasks.DownloadOsmTask;
     9import org.openstreetmap.josm.actions.downloadtasks.DownloadParams;
    910import org.openstreetmap.josm.data.Bounds;
    1011import org.openstreetmap.josm.gui.MainApplication;
     
    2425
    2526    @Override
    26     public Future<?> loadUrl(boolean newLayer, String url, ProgressMonitor progressMonitor) {
    27         downloadTask = new DownloadTask(newLayer, new PbfServerReader(url), progressMonitor);
     27    public Future<?> loadUrl(DownloadParams settings, String url, ProgressMonitor progressMonitor) {
     28        downloadTask = new DownloadTask(settings, new PbfServerReader(url), progressMonitor);
    2829        // We need submit instead of execute so we can wait for it to finish and get the error
    2930        // message if necessary. If no one calls getErrorMessage() it just behaves like execute.
Note: See TracChangeset for help on using the changeset viewer.