Changeset 26509 in osm for applications/editors/josm/plugins/DirectUpload/src/org
- Timestamp:
- 2011-08-11T00:45:56+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/DirectUpload/src/org/openstreetmap/josm/plugins/DirectUpload/UploadDataGui.java
r24236 r26509 98 98 private static final String uploadTraceText = tr("Upload Trace"); 99 99 100 private boolean cancel led = false;100 private boolean canceled = false; 101 101 102 102 public UploadDataGui() { … … 225 225 flushToServer(bais, conn.getOutputStream(), progressMonitor); 226 226 227 if (cancel led) {227 if (canceled) { 228 228 conn.disconnect(); 229 OutputDisplay.setText(tr("Upload cancel led"));229 OutputDisplay.setText(tr("Upload canceled")); 230 230 buttons.get(0).setEnabled(true); 231 cancel led = false;231 canceled = false; 232 232 } 233 233 else { … … 318 318 progressMonitor.subTask(getProgressText(cur, progressMonitor)); 319 319 320 if(cancel led)320 if(canceled) 321 321 break; 322 322 } 323 323 } 324 if(!cancel led)324 if(!canceled) 325 325 out.flush(); 326 326 progressMonitor.subTask("Waiting for server reply..."); … … 406 406 @Override protected void finish() {} 407 407 @Override protected void cancel() { 408 cancel led = true;408 canceled = true; 409 409 } 410 410 };
Note:
See TracChangeset
for help on using the changeset viewer.