if (source != null)
this.imageSources.add(source);
}
}
WorldWind wwd = WorldWind.getInstance();
if (wwd == null)
throw new Exception("wwd == null");
if (!wwd.getMemoryCacheSet().containsCache(BUFFERED_IMAGE_CACHE_NAME))
{
long size = Configuration.getLongValue(BUFFERED_IMAGE_CACHE_SIZE, DEFAULT_BUFFERED_IMAGE_CACHE_SIZE);
MemoryCache cache = new BasicMemoryCache((long) (0.85 * size), size);
wwd.getMemoryCacheSet().addCache(BUFFERED_IMAGE_CACHE_NAME, cache);
}
this.initializeSlideShow();
}