mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +00:00
Added comments
This commit is contained in:
parent
89595cff14
commit
0ae5675b08
@ -163,7 +163,7 @@ final public class TagSetDefinition {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Custom JSON Deserializer for TagSetDefinition to support legacy user tags and tag set JSON files.
|
// Custom JSON Deserializer for TagSetDefinition to support legacy user tags and tag set JSON files.
|
||||||
// In release 4.13.0 we:
|
// In TSK release 4.13.0 and Autopsy release 4.22.0 we:
|
||||||
// 1) renamed "TskData.KnownStatus" to "TskData.TagType"
|
// 1) renamed "TskData.KnownStatus" to "TskData.TagType"
|
||||||
// 2) renamed "TagSetDefinition.knownStatus" to "TagSetDefinition.tagType"
|
// 2) renamed "TagSetDefinition.knownStatus" to "TagSetDefinition.tagType"
|
||||||
// 3) renamed "TskData.KnownStatus" of "unknown" used to carry a score if "suspicious".
|
// 3) renamed "TskData.KnownStatus" of "unknown" used to carry a score if "suspicious".
|
||||||
@ -193,7 +193,7 @@ final public class TagSetDefinition {
|
|||||||
} else if (tagObject.has("knownStatus") && !tagObject.get("knownStatus").isJsonNull()) {
|
} else if (tagObject.has("knownStatus") && !tagObject.get("knownStatus").isJsonNull()) {
|
||||||
TskData.TagType legacyStatus = context.deserialize(tagObject.get("knownStatus"), TskData.TagType.class);
|
TskData.TagType legacyStatus = context.deserialize(tagObject.get("knownStatus"), TskData.TagType.class);
|
||||||
|
|
||||||
// Before release 4.13.0 "UNKNOWN" tag type used to carry an automatic "SUSPICIOUS" score.
|
// "UNKNOWN" tag type used to carry an automatic "SUSPICIOUS" score.
|
||||||
// If knownStatus was "UNKNOWN", use "SUSPICIOUS" instead
|
// If knownStatus was "UNKNOWN", use "SUSPICIOUS" instead
|
||||||
if (legacyStatus == TskData.TagType.UNKNOWN) {
|
if (legacyStatus == TskData.TagType.UNKNOWN) {
|
||||||
tagType = TskData.TagType.SUSPICIOUS;
|
tagType = TskData.TagType.SUSPICIOUS;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user