Ignore:
Timestamp:
20.06.2009 09:31:00 (3 years ago)
Author:
Gubaer
Message:

removed old conflict resolution code
fixed bug in OsmApi (missing changeset initialization)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/OsmServerWriter.java

    r1677 r1682  
    8484        processed = new LinkedList<OsmPrimitive>(); 
    8585 
    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(); 
    9487 
    9588        Main.pleaseWaitDlg.progress.setMaximum(primitives.size()); 
     
    125118            // upload changes individually (90% of code is for the status display...) 
    126119            // 
     120            api.createChangeset(getChangesetComment()); 
    127121            NameVisitor v = new NameVisitor(); 
    128122            uploadStartTime = System.currentTimeMillis(); 
     
    139133                Main.pleaseWaitDlg.progress.setValue(progress+1); 
    140134            } 
     135            api.stopChangeset(); 
    141136        } 
    142137    } 
Note: See TracChangeset for help on using the changeset viewer.