Changeset 31619 in osm


Ignore:
Timestamp:
2015-10-13T01:12:02+02:00 (9 years ago)
Author:
donvip
Message:

[josm_mapillary] revert changeset 31612 to fix broken Jenkins plugins build

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

    r31612 r31619  
    8282  public static void submit(String key, MapillaryCache.Type type,
    8383      ICachedLoaderListener lis) {
    84     new MapillaryCache(key, type).submit(lis, false);
     84    try {
     85      new MapillaryCache(key, type).submit(lis, false);
     86    } catch (IOException e) {
     87      Main.error(e);
     88    }
    8589  }
    8690
  • applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/gui/MapillaryMainDialog.java

    r31612 r31619  
    244244        this.thumbnailCache = new MapillaryCache(mapillaryImage.getKey(),
    245245            MapillaryCache.Type.THUMBNAIL);
    246         this.thumbnailCache.submit(this, false);
     246        try {
     247          this.thumbnailCache.submit(this, false);
     248        } catch (IOException e) {
     249          Main.error(e);
     250        }
    247251
    248252        // Downloads the full resolution image.
     
    252256          this.imageCache = new MapillaryCache(mapillaryImage.getKey(),
    253257              MapillaryCache.Type.FULL_IMAGE);
    254           this.imageCache.submit(this, false);
     258          try {
     259            this.imageCache.submit(this, false);
     260          } catch (IOException e) {
     261            Main.error(e);
     262          }
    255263        }
    256264      } else if (this.image instanceof MapillaryImportedImage) {
Note: See TracChangeset for help on using the changeset viewer.