} catch (TskCoreException ex) {
LOGGER.log(Level.WARNING, "Failed to load thumbnail for file: " + fileID, ex.getCause());
return null;
}
}
<BUG>private Optional<Image> load(DrawableFile<?> file) {
if (FileTypeUtils.isGIF(file)) {
return Optional.of(new Image(new BufferedInputStream(new ReadContentInputStream(file.getAbstractFile())), MAX_THUMBNAIL_SIZE, MAX_THUMBNAIL_SIZE, true, true));
}</BUG>
BufferedImage thumbnail = getCacheFile(file).map(cachFile -> {

} catch (TskCoreException ex) {
LOGGER.log(Level.WARNING, "Failed to load thumbnail for file: " + fileID, ex.getCause());
return null;
}
}
private Image load(DrawableFile<?> file) {
if (FileTypeUtils.isGIF(file)) {
return new Image(new BufferedInputStream(new ReadContentInputStream(file.getAbstractFile())), MAX_THUMBNAIL_SIZE, MAX_THUMBNAIL_SIZE, true, true);
}
BufferedImage thumbnail = getCacheFile(file).map(cachFile -> {
