mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-26 02:51:27 +01:00
corrected catch to use a more specific exception
Former-commit-id: 8bcd641d5be83f7ec8d182a55e0b5b52a73136d6
This commit is contained in:
@@ -75,7 +75,7 @@ public final class LogUtils {
|
|||||||
if (in != null) {
|
if (in != null) {
|
||||||
try {
|
try {
|
||||||
in.close();
|
in.close();
|
||||||
} catch (Throwable ex) {
|
} catch (IOException ex) {
|
||||||
LOGGER.log(Level.FINEST, "Error closing resource stream", ex);
|
LOGGER.log(Level.FINEST, "Error closing resource stream", ex);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user