Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ImageThumbConverter.java #4518

Merged
merged 2 commits into from
Mar 16, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ private static boolean generatePDFThumbnail(StorageIO<DataFile> storageIO, int s
//inputStream = storageIO.getInputStream();
pdfFileChannel = storageIO.getReadChannel();
} catch (Exception ioex) {
logger.warning("caught IOException trying to open an input stream for " + storageIO.getDataFile().getStorageIdentifier());
logger.warning("caught Exception trying to open an input stream for " + storageIO.getDataFile().getStorageIdentifier());
return false;
}

Expand Down Expand Up @@ -407,7 +407,7 @@ private static boolean isThumbnailCached(StorageIO<DataFile> storageIO, int size
try {
cached = storageIO.isAuxObjectCached(THUMBNAIL_SUFFIX + size);
} catch (Exception ioex) {
logger.fine("caught IO exception while checking for a cached thumbnail (file " + storageIO.getDataFile().getStorageIdentifier() + ")");
logger.fine("caught Exception while checking for a cached thumbnail (file " + storageIO.getDataFile().getStorageIdentifier() + ")");
return false;
}

Expand Down Expand Up @@ -671,7 +671,7 @@ public static String rescaleImage(BufferedImage fullSizeImage, int width, int he
try {
rescaleImage(fullSizeImage, width, height, size, outputFileStream);
} catch (Exception ioex) {
logger.warning("caught IO exceptiopn trying to create rescaled image " + outputLocation);
logger.warning("caught Exceptiopn trying to create rescaled image " + outputLocation);
return null;
}

Expand Down