From f687239bf27e7167fccd5cfcfd63e217f46bb885 Mon Sep 17 00:00:00 2001 From: esaunders Date: Wed, 16 Jan 2019 13:21:25 -0500 Subject: [PATCH] Changed from asychronous to synchronous child creation since the keys are already being created on a separate worker thread. This change mitigates the issue where a wait node was being displayed and not going away. --- .../sleuthkit/autopsy/commonfilesearch/InstanceCountNode.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Core/src/org/sleuthkit/autopsy/commonfilesearch/InstanceCountNode.java b/Core/src/org/sleuthkit/autopsy/commonfilesearch/InstanceCountNode.java index 4b555bd40b..93f3ab346c 100644 --- a/Core/src/org/sleuthkit/autopsy/commonfilesearch/InstanceCountNode.java +++ b/Core/src/org/sleuthkit/autopsy/commonfilesearch/InstanceCountNode.java @@ -57,7 +57,7 @@ public final class InstanceCountNode extends DisplayableItemNode { "InstanceCountNode.displayName=Files with %s instances (%s)" }) public InstanceCountNode(int instanceCount, CommonAttributeValueList attributeValues) { - super(Children.create(new CommonAttributeValueNodeFactory(attributeValues.getMetadataList()), true)); + super(Children.create(new CommonAttributeValueNodeFactory(attributeValues.getMetadataList()), false)); this.instanceCount = instanceCount; this.attributeValues = attributeValues; @@ -81,7 +81,7 @@ public final class InstanceCountNode extends DisplayableItemNode { */ void createChildren() { attributeValues.displayDelayedMetadata(); - setChildren(Children.create(new CommonAttributeValueNodeFactory(attributeValues.getMetadataList()), true)); + setChildren(Children.create(new CommonAttributeValueNodeFactory(attributeValues.getMetadataList()), false)); } /**