mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-13 08:26:15 +00:00
8059 add apostraphe for possesive form of result instead of plural
This commit is contained in:
parent
d44525f3f5
commit
b838e5a3cf
@ -141,7 +141,7 @@ public class CorrelationAttributeUtil {
|
|||||||
int artifactTypeID = analysisResult.getArtifactTypeID();
|
int artifactTypeID = analysisResult.getArtifactTypeID();
|
||||||
if (artifactTypeID == ARTIFACT_TYPE.TSK_INTERESTING_ARTIFACT_HIT.getTypeID()) {
|
if (artifactTypeID == ARTIFACT_TYPE.TSK_INTERESTING_ARTIFACT_HIT.getTypeID()) {
|
||||||
//because this attribute retrieval is only occuring when the analysis result is an interesting artifact hit
|
//because this attribute retrieval is only occuring when the analysis result is an interesting artifact hit
|
||||||
//and only one attribute is being retrieved the analysis results own get attribute method can be used efficently
|
//and only one attribute is being retrieved the analysis result's own get attribute method can be used efficently
|
||||||
BlackboardAttribute assocArtifactAttr = analysisResult.getAttribute(BlackboardAttribute.Type.TSK_ASSOCIATED_ARTIFACT);
|
BlackboardAttribute assocArtifactAttr = analysisResult.getAttribute(BlackboardAttribute.Type.TSK_ASSOCIATED_ARTIFACT);
|
||||||
if (assocArtifactAttr != null) {
|
if (assocArtifactAttr != null) {
|
||||||
BlackboardArtifact sourceArtifact = Case.getCurrentCaseThrows().getSleuthkitCase().getBlackboardArtifact(assocArtifactAttr.getValueLong());
|
BlackboardArtifact sourceArtifact = Case.getCurrentCaseThrows().getSleuthkitCase().getBlackboardArtifact(assocArtifactAttr.getValueLong());
|
||||||
@ -160,7 +160,7 @@ public class CorrelationAttributeUtil {
|
|||||||
} else {
|
} else {
|
||||||
if (artifactTypeID == ARTIFACT_TYPE.TSK_KEYWORD_HIT.getTypeID()) {
|
if (artifactTypeID == ARTIFACT_TYPE.TSK_KEYWORD_HIT.getTypeID()) {
|
||||||
//because this attribute retrieval is only occuring when the analysis result is an keyword hit
|
//because this attribute retrieval is only occuring when the analysis result is an keyword hit
|
||||||
//and only one attribute is being retrieved the analysis results own get attribute method can be used efficently
|
//and only one attribute is being retrieved the analysis result's own get attribute method can be used efficently
|
||||||
BlackboardAttribute setNameAttr = analysisResult.getAttribute(BlackboardAttribute.Type.TSK_SET_NAME);
|
BlackboardAttribute setNameAttr = analysisResult.getAttribute(BlackboardAttribute.Type.TSK_SET_NAME);
|
||||||
if (setNameAttr != null && CorrelationAttributeUtil.getEmailAddressAttrDisplayName().equals(setNameAttr.getValueString())) {
|
if (setNameAttr != null && CorrelationAttributeUtil.getEmailAddressAttrDisplayName().equals(setNameAttr.getValueString())) {
|
||||||
correlationAttrs.addAll(makeCorrAttrFromArtifactAttr(analysisResult, BlackboardAttribute.ATTRIBUTE_TYPE.TSK_KEYWORD, CorrelationAttributeInstance.EMAIL_TYPE_ID, analysisResult.getAttributes()));
|
correlationAttrs.addAll(makeCorrAttrFromArtifactAttr(analysisResult, BlackboardAttribute.ATTRIBUTE_TYPE.TSK_KEYWORD, CorrelationAttributeInstance.EMAIL_TYPE_ID, analysisResult.getAttributes()));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user