Changeset 1682 in josm for trunk/src/org/openstreetmap/josm/io/OsmServerWriter.java
- Timestamp:
- 20.06.2009 09:31:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/OsmServerWriter.java
r1677 r1682 84 84 processed = new LinkedList<OsmPrimitive>(); 85 85 86 // initialize API. Abort upload in case of configuration or network 87 // errors 88 // 89 try { 90 api.initialize(); 91 } catch(Exception e) { 92 throw new OsmApiInitializationException(e); 93 } 86 api.initialize(); 94 87 95 88 Main.pleaseWaitDlg.progress.setMaximum(primitives.size()); … … 125 118 // upload changes individually (90% of code is for the status display...) 126 119 // 120 api.createChangeset(getChangesetComment()); 127 121 NameVisitor v = new NameVisitor(); 128 122 uploadStartTime = System.currentTimeMillis(); … … 139 133 Main.pleaseWaitDlg.progress.setValue(progress+1); 140 134 } 135 api.stopChangeset(); 141 136 } 142 137 }
Note: See TracChangeset
for help on using the changeset viewer.
