mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-21 08:39:24 +01:00
codacy suggested change
This commit is contained in:
@@ -194,7 +194,7 @@ public final class Checksum {
|
|||||||
return MessageDigest.getInstance(algorithm);
|
return MessageDigest.getInstance(algorithm);
|
||||||
} catch (NoSuchAlgorithmException e) {
|
} catch (NoSuchAlgorithmException e) {
|
||||||
LOGGER.error(e.getMessage());
|
LOGGER.error(e.getMessage());
|
||||||
final String msg = String.format("Failed to obtain the {} message digest.", algorithm);
|
final String msg = String.format("Failed to obtain the %s message digest.", algorithm);
|
||||||
throw new IllegalStateException(msg, e);
|
throw new IllegalStateException(msg, e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user