mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-17 10:17:41 +00:00
Merge pull request #1843 from BasisOlivers/bugFix
Fixed deprecation bug
This commit is contained in:
commit
7c7d7a76eb
@ -135,7 +135,7 @@ public final class ExternalResultsImporter {
|
|||||||
// Add the artifact to the case database.
|
// Add the artifact to the case database.
|
||||||
int artifactTypeId = caseDb.getArtifactTypeID(artifactData.getType());
|
int artifactTypeId = caseDb.getArtifactTypeID(artifactData.getType());
|
||||||
if (artifactTypeId == -1) {
|
if (artifactTypeId == -1) {
|
||||||
artifactTypeId = caseDb.addArtifactType(artifactData.getType(), artifactData.getType());
|
artifactTypeId = caseDb.addBlackboardArtifactType(artifactData.getType(), artifactData.getType()).getTypeID();
|
||||||
}
|
}
|
||||||
Content sourceFile = findFileInCaseDatabase(artifactData.getSourceFilePath());
|
Content sourceFile = findFileInCaseDatabase(artifactData.getSourceFilePath());
|
||||||
if (sourceFile != null) {
|
if (sourceFile != null) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user