Changeset 8636 in josm for trunk/src/org/openstreetmap/josm/data/imagery/TMSCachedTileLoaderJob.java
- Timestamp:
- 2015-08-02T12:14:18+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/imagery/TMSCachedTileLoaderJob.java
r8635 r8636 252 252 // keep the expiration time between MINIMUM_EXPIRES and MAXIMUM_EXPIRES, so we will cache the tiles 253 253 // at least for some short period of time, but not too long 254 if (ret.getExpirationTime() < MINIMUM_EXPIRES) {254 if (ret.getExpirationTime() < now + MINIMUM_EXPIRES) { 255 255 ret.setExpirationTime(now + MINIMUM_EXPIRES); 256 256 } 257 if (ret.getExpirationTime() > MAXIMUM_EXPIRES) {257 if (ret.getExpirationTime() > now + MAXIMUM_EXPIRES) { 258 258 ret.setExpirationTime(now + MAXIMUM_EXPIRES); 259 259 }
Note:
See TracChangeset
for help on using the changeset viewer.