From e3da44aacf0005d45367025928a9604cd5964275 Mon Sep 17 00:00:00 2001 From: momo Date: Fri, 11 Sep 2015 16:07:17 -0400 Subject: [PATCH] remove redundant code --- .../autopsy/modules/hashdatabase/HashDbIngestModule.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Core/src/org/sleuthkit/autopsy/modules/hashdatabase/HashDbIngestModule.java b/Core/src/org/sleuthkit/autopsy/modules/hashdatabase/HashDbIngestModule.java index 0a736ddeda..a6b440de33 100644 --- a/Core/src/org/sleuthkit/autopsy/modules/hashdatabase/HashDbIngestModule.java +++ b/Core/src/org/sleuthkit/autopsy/modules/hashdatabase/HashDbIngestModule.java @@ -87,10 +87,8 @@ public class HashDbIngestModule implements FileIngestModule { updateEnabledHashSets(hashDbManager.getKnownFileHashSets(), knownHashSets); if (refCounter.incrementAndGet(jobId) == 1) { - // safely create a jobs total for this job - getTotalsForIngestJobs(jobId); - - // if first module for this job then post error msgs if needed + // if first module for this job then post error msgs if needed + if (knownBadHashSets.isEmpty()) { services.postMessage(IngestMessage.createWarningMessage( HashLookupModuleFactory.getModuleName(),