From 5c19ae52959bc3a2d29fadd805dfd95a6ea12bda Mon Sep 17 00:00:00 2001 From: Richard Cordovano Date: Mon, 2 Aug 2021 16:53:34 -0400 Subject: [PATCH] 7673 Fix just introduced bug in IngestJobPipeline.hasFileIngestModules() --- .../org/sleuthkit/autopsy/ingest/IngestJobPipeline.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Core/src/org/sleuthkit/autopsy/ingest/IngestJobPipeline.java b/Core/src/org/sleuthkit/autopsy/ingest/IngestJobPipeline.java index 59fa6c4dcc..c68dde5911 100644 --- a/Core/src/org/sleuthkit/autopsy/ingest/IngestJobPipeline.java +++ b/Core/src/org/sleuthkit/autopsy/ingest/IngestJobPipeline.java @@ -538,7 +538,10 @@ final class IngestJobPipeline { * @return True or false. */ boolean hasFileIngestModules() { - return (fileIngestPipelines.isEmpty() == false); + if (!fileIngestPipelines.isEmpty()) { + return !fileIngestPipelines.get(0).isEmpty(); + } + return false; } /** @@ -1438,7 +1441,7 @@ final class IngestJobPipeline { } pausedIngestThreads.clear(); } - + // If a data source had no tasks in progress it may now be complete. checkForStageCompleted(); }