mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +00:00
Merge branch 'sleuthkit:develop' into develop
This commit is contained in:
commit
bc87256339
@ -349,11 +349,7 @@ public abstract class AbstractContentNode<T extends Content> extends ContentNode
|
||||
protected Pair<Score, String> getScorePropertyAndDescription(List<Tag> tags) {
|
||||
Score score = Score.SCORE_UNKNOWN;
|
||||
try {
|
||||
if (content instanceof AnalysisResult) {
|
||||
score = ((AnalysisResult) content).getScore();
|
||||
} else {
|
||||
score = this.content.getAggregateScore();
|
||||
}
|
||||
score = this.content.getAggregateScore();
|
||||
} catch (TskCoreException ex) {
|
||||
logger.log(Level.WARNING, "Unable to get aggregate score for content with id: " + this.content.getId(), ex);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user