Changeset 1682 in josm for trunk/src/org/openstreetmap/josm/io
- Timestamp:
- 2009-06-20T09:31:00+02:00 (15 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/io
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/OsmApi.java
r1677 r1682 307 307 * @return list of processed primitives 308 308 * @throws OsmTransferException if something is wrong 309 * @throws OsmTransferCancelledException if the upload was cancelled by the user310 309 */ 311 310 public Collection<OsmPrimitive> uploadDiff(final Collection<OsmPrimitive> list) throws OsmTransferException { -
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.