Ignore:
Timestamp:
08.09.2009 22:56:02 (3 years ago)
Author:
Gubaer
Message:

fixed #3393: loooong delay when using presets with a large osm file - further improvement; next step could be to turn UploadHooks into an asynchronous task; ApiPreconditionChecker loops over all keys in all upload primitives!
fixed #3435: Switching the changeset type deletes any changeset tags that have been set
fixed #3430: Entering comment=* manually in the changeset tags dialog gets ignored
fixed #3431: Upload dialog pops up again if no comment is provided
fixed #3429: created_by=* includes the wrong language when uploading from a new layer

File:
1 edited

Legend:

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

    r2078 r2081  
    77import java.util.Collection; 
    88import java.util.LinkedList; 
    9 import java.util.List; 
    109import java.util.logging.Logger; 
    1110 
    1211import org.openstreetmap.josm.Main; 
    13 import org.openstreetmap.josm.actions.UploadAction; 
    1412import org.openstreetmap.josm.data.osm.Changeset; 
    1513import org.openstreetmap.josm.data.osm.OsmPrimitive; 
     
    6159        time_left_str += Integer.toString(seconds_left); 
    6260        return time_left_str; 
    63     } 
    64  
    65     /** 
    66      * retrieves the most recent changeset comment from the preferences 
    67      * 
    68      * @return the most recent changeset comment 
    69      */ 
    70     protected String getChangesetComment() { 
    71         String cmt = ""; 
    72         List<String> history = new LinkedList<String>( 
    73                 Main.pref.getCollection(UploadAction.HISTORY_KEY, new LinkedList<String>())); 
    74         if(history.size() > 0) { 
    75             cmt = history.get(0); 
    76         } 
    77         return cmt; 
    7861    } 
    7962 
Note: See TracChangeset for help on using the changeset viewer.