Changeset 31612 in osm
- Timestamp:
- 2015-10-12T11:10:40+02:00 (9 years ago)
- Location:
- applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/cache/CacheUtils.java
r31518 r31612 82 82 public static void submit(String key, MapillaryCache.Type type, 83 83 ICachedLoaderListener lis) { 84 try { 85 new MapillaryCache(key, type).submit(lis, false); 86 } catch (IOException e) { 87 Main.error(e); 88 } 84 new MapillaryCache(key, type).submit(lis, false); 89 85 } 90 86 -
applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/gui/MapillaryMainDialog.java
r31518 r31612 244 244 this.thumbnailCache = new MapillaryCache(mapillaryImage.getKey(), 245 245 MapillaryCache.Type.THUMBNAIL); 246 try { 247 this.thumbnailCache.submit(this, false); 248 } catch (IOException e) { 249 Main.error(e); 250 } 246 this.thumbnailCache.submit(this, false); 251 247 252 248 // Downloads the full resolution image. … … 256 252 this.imageCache = new MapillaryCache(mapillaryImage.getKey(), 257 253 MapillaryCache.Type.FULL_IMAGE); 258 try { 259 this.imageCache.submit(this, false); 260 } catch (IOException e) { 261 Main.error(e); 262 } 254 this.imageCache.submit(this, false); 263 255 } 264 256 } else if (this.image instanceof MapillaryImportedImage) {
Note:
See TracChangeset
for help on using the changeset viewer.