Changeset 11293 in josm for trunk/src/org


Ignore:
Timestamp:
2016-11-22T16:07:54+01:00 (3 years ago)
Author:
simon04
Message:

Checkstyle

File:
1 edited

Legend:

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

    r11288 r11293  
    641641        Collection<String> history = Main.pref.getCollection(historyKey, def);
    642642        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()) {
    644645            return history.iterator().next();
    645646        } else {
Note: See TracChangeset for help on using the changeset viewer.