Changeset 8389 in josm for trunk/src/org/openstreetmap/josm/data/cache/JCSCachedTileLoaderJob.java
- Timestamp:
- 2015-05-17T22:48:00+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/cache/JCSCachedTileLoaderJob.java
r8345 r8389 364 364 continue; 365 365 } 366 367 attributes.setResponseCode(urlConn.getResponseCode()); 366 368 byte[] raw = read(urlConn); 367 369 368 370 if (!cacheAsEmpty(urlConn.getHeaderFields(), urlConn.getResponseCode(), raw) && 369 371 raw != null && raw.length > 0) { 372 // we need to check cacheEmpty, so for cases, when data is returned, but we want to store 373 // as empty (eg. empty tile images) to save some space 370 374 cacheData = createCacheEntry(raw); 371 375 cache.put(getCacheKey(), cacheData, attributes);
Note:
See TracChangeset
for help on using the changeset viewer.
