mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-17 18:17:43 +00:00
Merge pull request #7177 from rcordovano/7673-fix-for-has-modules-bug
7673 Fix just introduced bug in IngestJobPipeline.hasFileIngestModules()
This commit is contained in:
commit
8617a17162
@ -538,7 +538,10 @@ final class IngestJobPipeline {
|
|||||||
* @return True or false.
|
* @return True or false.
|
||||||
*/
|
*/
|
||||||
boolean hasFileIngestModules() {
|
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();
|
pausedIngestThreads.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
// If a data source had no tasks in progress it may now be complete.
|
// If a data source had no tasks in progress it may now be complete.
|
||||||
checkForStageCompleted();
|
checkForStageCompleted();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user