Changeset 12711 in josm for trunk/src/org/openstreetmap/josm/io
- Timestamp:
- 2017-09-01T23:55:45+02:00 (7 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/io
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/OsmServerReader.java
r12620 r12711 174 174 .setFinishOnCloseOutput(false) 175 175 .setReasonForRequest(reason) 176 .setOutputMessage(tr("Downloading data...")) 176 177 .setRequestBody(requestBody); 177 178 activeConnection = client; -
trunk/src/org/openstreetmap/josm/io/ProgressOutputStream.java
r10302 r12711 31 31 */ 32 32 public ProgressOutputStream(OutputStream out, long size, ProgressMonitor progressMonitor, boolean finishOnClose) { 33 this(out, size, progressMonitor, tr("Uploading data ..."), finishOnClose); 34 } 35 36 /** 37 * Constructs a new {@code ProgressOutputStream}. 38 * 39 * @param out the stream to monitor 40 * @param size the total size which will be sent 41 * @param progressMonitor the monitor to report to 42 * @param message the message that will be displayed by the inner {@link StreamProgressUpdater} 43 * @param finishOnClose whether to call {@link ProgressMonitor#finishTask} when this stream is closed 44 * @since 12711 45 */ 46 public ProgressOutputStream(OutputStream out, long size, ProgressMonitor progressMonitor, String message, boolean finishOnClose) { 33 47 this.updater = new StreamProgressUpdater(size, 34 progressMonitor != null ? progressMonitor : NullProgressMonitor.INSTANCE, tr("Uploading data ..."));48 progressMonitor != null ? progressMonitor : NullProgressMonitor.INSTANCE, message); 35 49 this.out = out; 36 50 this.finishOnClose = finishOnClose;
Note:
See TracChangeset
for help on using the changeset viewer.