Changeset 9528 in josm for trunk/src/org/openstreetmap/josm/gui/io/UploadPrimitivesTask.java
- Timestamp:
- 2016-01-18T20:33:54+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/io/UploadPrimitivesTask.java
r9527 r9528 26 26 import org.openstreetmap.josm.gui.HelpAwareOptionPane; 27 27 import org.openstreetmap.josm.gui.HelpAwareOptionPane.ButtonSpec; 28 import org.openstreetmap.josm.gui.JosmUserIdentityManager;29 28 import org.openstreetmap.josm.gui.Notification; 30 29 import org.openstreetmap.josm.gui.layer.OsmDataLayer; … … 295 294 } 296 295 } 297 // update the user information298 if (changeset.getUser() == null) {299 changeset.setUser(JosmUserIdentityManager.getInstance().asUser());300 }301 296 // if required close the changeset 302 297 // … … 316 311 317 312 @Override protected void finish() { 318 if (uploadCanceled)319 return;320 313 321 314 // depending on the success of the upload operation and on the policy for … … 335 328 UploadDialog.getUploadDialog().setSelectedChangesetForNextUpload(changeset); 336 329 } 330 if (uploadCanceled) return; 337 331 if (lastException == null) { 338 332 new Notification(
Note:
See TracChangeset
for help on using the changeset viewer.