Ignore:
Timestamp:
2017-09-14T02:25:27+02:00 (2 years ago)
Author:
bastiK
Message:

see #15229 - include support for the long type in IPreferences

File:
1 edited

Legend:

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

    r12846 r12853  
    436436                        || maxAge <= 0 // arbitrary value <= 0 is deprecated
    437437                ) {
    438                     maxAgeMillis = TimeUnit.SECONDS.toMillis(Main.pref.getLong("mirror.maxtime", TimeUnit.DAYS.toSeconds(7)));
     438                    maxAgeMillis = TimeUnit.SECONDS.toMillis(Config.getPref().getLong("mirror.maxtime", TimeUnit.DAYS.toSeconds(7)));
    439439                }
    440440                age = System.currentTimeMillis() - Long.parseLong(localPathEntry.get(0));
Note: See TracChangeset for help on using the changeset viewer.