Skip to content

Commit

Permalink
replace MCRFileAttributes.md5sum (API change) #85
Browse files Browse the repository at this point in the history
  • Loading branch information
rsteph-de committed Oct 16, 2024
1 parent 6d0ff5f commit 409593e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
if(Files.isRegularFile(theFile)) {
@SuppressWarnings("rawtypes")
MCRFileAttributes attrs = Files.readAttributes(theFile, MCRFileAttributes.class);
md5 = "; MD5: " + attrs.md5sum();
md5 = "; MD5: " + attrs.digest().toHexString();
out.write("<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<small>(" + MCRUtils.getSizeFormatted(attrs.size()).replace(" ","&#160;") + md5 + ")</small>");
}
}
Expand Down

0 comments on commit 409593e

Please sign in to comment.