Changeset 11293 in josm for trunk/src/org
- Timestamp:
- 2016-11-22T16:07:54+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/io/UploadDialog.java
r11288 r11293 641 641 Collection<String> history = Main.pref.getCollection(historyKey, def); 642 642 int age = (int) (System.currentTimeMillis() / 1000 - Main.pref.getInteger(BasicUploadSettingsPanel.HISTORY_LAST_USED_KEY, 0)); 643 if (age < Main.pref.getLong(BasicUploadSettingsPanel.HISTORY_MAX_AGE_KEY, TimeUnit.HOURS.toMillis(4)) && history != null && !history.isEmpty()) { 643 if (age < Main.pref.getLong(BasicUploadSettingsPanel.HISTORY_MAX_AGE_KEY, TimeUnit.HOURS.toMillis(4)) 644 && history != null && !history.isEmpty()) { 644 645 return history.iterator().next(); 645 646 } else {
Note:
See TracChangeset
for help on using the changeset viewer.