codacy suggested change

This commit is contained in:
Jeremy Long
2017-11-13 06:46:29 -05:00
parent 0536fa6c2a
commit f8bf9d4eb7

View File

@@ -194,7 +194,7 @@ public final class Checksum {
return MessageDigest.getInstance(algorithm);
} catch (NoSuchAlgorithmException e) {
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);
}
}