Changeset 4130 in josm for trunk/src/org


Ignore:
Timestamp:
2011-06-08T09:20:01+02:00 (13 years ago)
Author:
stoecker
Message:

fix age check to be exact

File:
1 edited

Legend:

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

    r4128 r4130  
    234234            {Long.toString(System.currentTimeMillis()), file.toString()}));
    235235        } catch (IOException e) {
    236             if (age > maxTime*1000 && age < maxTime*1000*2) {
     236            if (age >= maxTime*1000 && age < maxTime*1000*2) {
    237237                System.out.println(tr("Failed to load {0}, use cached file and retry next time: {1}",
    238238                url, e));
Note: See TracChangeset for help on using the changeset viewer.