Changeset 31612 in osm


Ignore:
Timestamp:
2015-10-12T11:10:40+02:00 (9 years ago)
Author:
nokutu
Message:

Fixed issues regarding java 7

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  
    8282  public static void submit(String key, MapillaryCache.Type type,
    8383      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);
    8985  }
    9086
  • applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/gui/MapillaryMainDialog.java

    r31518 r31612  
    244244        this.thumbnailCache = new MapillaryCache(mapillaryImage.getKey(),
    245245            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);
    251247
    252248        // Downloads the full resolution image.
     
    256252          this.imageCache = new MapillaryCache(mapillaryImage.getKey(),
    257253              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);
    263255        }
    264256      } else if (this.image instanceof MapillaryImportedImage) {
Note: See TracChangeset for help on using the changeset viewer.