Ignore:
Timestamp:
2016-09-11T14:14:51+02:00 (10 years ago)
Author:
nokutu
Message:

Fixed CacheTest

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/cache/MapillaryCache.java

    r32979 r32984  
    66import java.util.HashMap;
    77
     8import org.apache.commons.jcs.access.CacheAccess;
    89import org.openstreetmap.josm.Main;
    910import org.openstreetmap.josm.data.cache.BufferedImageCacheEntry;
     
    4445   */
    4546  public MapillaryCache(String key, Type type) {
    46     super(MapillaryPlugin.getCache(), 50000, 50000, new HashMap<>());
     47    this(MapillaryPlugin.getCache(), key, type);
     48  }
     49
     50  protected MapillaryCache(CacheAccess<String, BufferedImageCacheEntry> cache, String key, Type type) {
     51    super(cache, 50000, 50000, new HashMap<>());
    4752    String k = null;
    4853    URL u = null;
Note: See TracChangeset for help on using the changeset viewer.