Changeset 11331 in josm for trunk/src/org/openstreetmap/josm/data/cache
- Timestamp:
- 2016-11-28T01:35:12+01:00 (7 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/data/cache
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/cache/BufferedImageCacheEntry.java
r10938 r11331 44 44 return img; 45 45 byte[] content = getContent(); 46 if (content != null && content.length > 0) {46 if (content.length > 0) { 47 47 img = ImageIO.read(new ByteArrayInputStream(content)); 48 48 imageLoaded = true; -
trunk/src/org/openstreetmap/josm/data/cache/JCSCachedTileLoaderJob.java
r11288 r11331 196 196 return false; 197 197 } 198 byte[] content = cacheData.getContent(); 199 return content != null && content.length > 0; 198 return cacheData.getContent().length > 0; 200 199 } 201 200
Note:
See TracChangeset
for help on using the changeset viewer.