mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-12 07:56:16 +00:00
2933 removed warning about null artifacts in central repo ingest listener
This commit is contained in:
parent
2fcf78be74
commit
8dba95e30f
@ -91,8 +91,7 @@ public class IngestEventsListener {
|
|||||||
|
|
||||||
final ModuleDataEvent mde = (ModuleDataEvent) evt.getOldValue();
|
final ModuleDataEvent mde = (ModuleDataEvent) evt.getOldValue();
|
||||||
Collection<BlackboardArtifact> bbArtifacts = mde.getArtifacts();
|
Collection<BlackboardArtifact> bbArtifacts = mde.getArtifacts();
|
||||||
if (null == bbArtifacts) {
|
if (null == bbArtifacts) { //the ModuleDataEvents don't always have a collection of artifacts set
|
||||||
LOGGER.log(Level.WARNING, "Error getting artifacts from Module Data Event. getArtifacts() returned null.");
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
List<EamArtifact> eamArtifacts = new ArrayList<>();
|
List<EamArtifact> eamArtifacts = new ArrayList<>();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user