Changing calculateMd5Hash

This commit is contained in:
Ann Priestman 2017-12-29 12:43:09 -05:00
parent bfffa539f7
commit dce17a87be

View File

@ -176,7 +176,7 @@ public class HashDbIngestModule implements FileIngestModule {
if (md5Hash == null || md5Hash.isEmpty()) { if (md5Hash == null || md5Hash.isEmpty()) {
try { try {
long calcstart = System.currentTimeMillis(); long calcstart = System.currentTimeMillis();
md5Hash = HashUtility.calculateMd5(file, false); md5Hash = HashUtility.calculateMd5Hash(file);
file.setMd5Hash(md5Hash); file.setMd5Hash(md5Hash);
long delta = (System.currentTimeMillis() - calcstart); long delta = (System.currentTimeMillis() - calcstart);
totals.totalCalctime.addAndGet(delta); totals.totalCalctime.addAndGet(delta);