Changeset 9232 in josm for trunk/src/org/openstreetmap/josm/data/imagery
- Timestamp:
- 2016-01-01T12:07:51+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/imagery/TMSCachedTileLoaderJob.java
r9067 r9232 7 7 import java.io.IOException; 8 8 import java.net.URL; 9 import java.net.URLConnection;10 9 import java.util.HashSet; 11 10 import java.util.List; … … 31 30 import org.openstreetmap.josm.data.cache.ICachedLoaderListener; 32 31 import org.openstreetmap.josm.data.cache.JCSCachedTileLoaderJob; 32 import org.openstreetmap.josm.tools.HttpClient; 33 33 34 34 /** … … 240 240 241 241 @Override 242 protected CacheEntryAttributes parseHeaders( URLConnectionurlConn) {242 protected CacheEntryAttributes parseHeaders(HttpClient.Response urlConn) { 243 243 CacheEntryAttributes ret = super.parseHeaders(urlConn); 244 244 // keep the expiration time between MINIMUM_EXPIRES and MAXIMUM_EXPIRES, so we will cache the tiles
Note:
See TracChangeset
for help on using the changeset viewer.