mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-15 01:07:42 +00:00
Refactor
This commit is contained in:
parent
96542711fc
commit
8bdd91fbd1
@ -199,10 +199,6 @@ public class IngestEventsListener {
|
||||
public synchronized static void setCreateCrProperties(boolean value) {
|
||||
createCrProperties = value;
|
||||
}
|
||||
|
||||
static private String createOtherCasesAttrString(List<String> caseDisplayNames) {
|
||||
return caseDisplayNames.stream().distinct().collect(Collectors.joining(","));
|
||||
}
|
||||
|
||||
/**
|
||||
* Make a "previously seen" artifact based on a new artifact being
|
||||
@ -227,7 +223,7 @@ public class IngestEventsListener {
|
||||
value),
|
||||
new BlackboardAttribute(
|
||||
TSK_OTHER_CASES, MODULE_NAME,
|
||||
createOtherCasesAttrString(caseDisplayNames)));
|
||||
caseDisplayNames.stream().distinct().collect(Collectors.joining(","))));
|
||||
makeAndPostArtifact(BlackboardArtifact.Type.TSK_PREVIOUSLY_SEEN, originalArtifact, attributesForNewArtifact, Bundle.IngestEventsListener_prevTaggedSet_text());
|
||||
}
|
||||
|
||||
@ -256,7 +252,7 @@ public class IngestEventsListener {
|
||||
value),
|
||||
new BlackboardAttribute(
|
||||
TSK_OTHER_CASES, MODULE_NAME,
|
||||
createOtherCasesAttrString(caseDisplayNames)));
|
||||
caseDisplayNames.stream().distinct().collect(Collectors.joining(","))));
|
||||
makeAndPostArtifact(BlackboardArtifact.Type.TSK_PREVIOUSLY_SEEN, originalArtifact, attributesForNewArtifact, Bundle.IngestEventsListener_prevExists_text());
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user