From 1d6e491a2a8f216361e77a8fe18fd17c4fb8ab31 Mon Sep 17 00:00:00 2001 From: millmanorama Date: Thu, 22 Jun 2017 11:47:24 +0200 Subject: [PATCH] put the correct node name in the lookup --- Core/src/org/sleuthkit/autopsy/datamodel/KeywordHits.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/src/org/sleuthkit/autopsy/datamodel/KeywordHits.java b/Core/src/org/sleuthkit/autopsy/datamodel/KeywordHits.java index 8bcda86927..79a3b07228 100644 --- a/Core/src/org/sleuthkit/autopsy/datamodel/KeywordHits.java +++ b/Core/src/org/sleuthkit/autopsy/datamodel/KeywordHits.java @@ -764,7 +764,7 @@ public class KeywordHits implements AutopsyVisitableItem { private final String instance; private RegExpInstanceNode(String setName, String keyword, String instance) { - super(Children.create(new HitsFactory(setName, keyword, instance), true), Lookups.singleton(keyword)); + super(Children.create(new HitsFactory(setName, keyword, instance), true), Lookups.singleton(instance)); super.setName(instance); //the instance represents the name of the keyword hit at this point as the keyword is the regex this.setName = setName; this.keyword = keyword;