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) {
|
protected Pair<Score, String> getScorePropertyAndDescription(List<Tag> tags) {
|
||||||
Score score = Score.SCORE_UNKNOWN;
|
Score score = Score.SCORE_UNKNOWN;
|
||||||
try {
|
try {
|
||||||
if (content instanceof AnalysisResult) {
|
score = this.content.getAggregateScore();
|
||||||
score = ((AnalysisResult) content).getScore();
|
|
||||||
} else {
|
|
||||||
score = this.content.getAggregateScore();
|
|
||||||
}
|
|
||||||
} catch (TskCoreException ex) {
|
} catch (TskCoreException ex) {
|
||||||
logger.log(Level.WARNING, "Unable to get aggregate score for content with id: " + this.content.getId(), 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