Changeset 2081 in josm for trunk/src/org/openstreetmap/josm/io
- Timestamp:
- 2009-09-08T22:56:02+02:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/OsmServerWriter.java
r2078 r2081 7 7 import java.util.Collection; 8 8 import java.util.LinkedList; 9 import java.util.List;10 9 import java.util.logging.Logger; 11 10 12 11 import org.openstreetmap.josm.Main; 13 import org.openstreetmap.josm.actions.UploadAction;14 12 import org.openstreetmap.josm.data.osm.Changeset; 15 13 import org.openstreetmap.josm.data.osm.OsmPrimitive; … … 61 59 time_left_str += Integer.toString(seconds_left); 62 60 return time_left_str; 63 }64 65 /**66 * retrieves the most recent changeset comment from the preferences67 *68 * @return the most recent changeset comment69 */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;78 61 } 79 62
Note:
See TracChangeset
for help on using the changeset viewer.