fixed sonar bugs
This commit is contained in:
@ -145,7 +145,7 @@ public abstract class FileUtil {
|
||||
try {
|
||||
md = MessageDigest.getInstance("MD5");
|
||||
} catch (NoSuchAlgorithmException ex) {
|
||||
throw new IOException("Cannot get MD5 MessageDigest instance");
|
||||
throw new IOException("Cannot get MD5 MessageDigest instance. Reason: "+ex.toString(), ex);
|
||||
}
|
||||
|
||||
try (InputStream is = Files.newInputStream(Paths.get(fileName));
|
||||
|
||||
Reference in New Issue
Block a user