Ignore:
Timestamp:
2015-12-28T01:42:36+01:00 (8 years ago)
Author:
simon04
Message:

see #12231 - HttpClient now reports status to ProgressMonitor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/OsmServerReader.java

    r9184 r9185  
    131131
    132132            try {
    133                 activeConnection = client.connect();
     133                activeConnection = client.connect(progressMonitor);
    134134            } catch (Exception e) {
    135135                Main.error(e);
     
    158158
    159159                activeConnection.uncompressAccordingToContentDisposition(uncompressAccordingToContentDisposition);
    160                 InputStream in = new ProgressInputStream(activeConnection, progressMonitor);
    161                 return in;
     160                return activeConnection.getContent();
    162161            } catch (OsmTransferException e) {
    163162                throw e;
Note: See TracChangeset for help on using the changeset viewer.