mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-16 01:37:43 +00:00
remove null checks
This commit is contained in:
parent
1a0ec35ef2
commit
61cdebf9ef
@ -228,13 +228,9 @@ class AccountsText implements IndexedText {
|
|||||||
|
|
||||||
//add both the canonical form and the form in the text as accountNumbers to highlight.
|
//add both the canonical form and the form in the text as accountNumbers to highlight.
|
||||||
BlackboardAttribute attribute = artifact.getAttribute(TSK_KEYWORD);
|
BlackboardAttribute attribute = artifact.getAttribute(TSK_KEYWORD);
|
||||||
if (attribute != null) {
|
|
||||||
this.accountNumbers.add(attribute.getValueString());
|
this.accountNumbers.add(attribute.getValueString());
|
||||||
}
|
|
||||||
attribute = artifact.getAttribute(TSK_CARD_NUMBER);
|
attribute = artifact.getAttribute(TSK_CARD_NUMBER);
|
||||||
if (attribute != null) {
|
|
||||||
this.accountNumbers.add(attribute.getValueString());
|
this.accountNumbers.add(attribute.getValueString());
|
||||||
}
|
|
||||||
|
|
||||||
//if the chunk id is present just use that.
|
//if the chunk id is present just use that.
|
||||||
Optional<Integer> chunkID =
|
Optional<Integer> chunkID =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user