mirror of
https://github.com/elisspace/autopsy.git
synced 2026-09-03 22:39:56 +00:00
Cleanup.
This commit is contained in:
@@ -22,14 +22,17 @@ import java.sql.SQLException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
import java.util.Map;
|
||||
import java.util.Map.Entry;
|
||||
import java.util.concurrent.ExecutionException;
|
||||
import java.util.logging.Level;
|
||||
import javax.swing.ComboBoxModel;
|
||||
import javax.swing.SwingUtilities;
|
||||
import javax.swing.SwingWorker;
|
||||
import org.netbeans.api.progress.ProgressHandle;
|
||||
import org.openide.explorer.ExplorerManager;
|
||||
import org.openide.util.NbBundle;
|
||||
import org.sleuthkit.autopsy.casemodule.NoCurrentCaseException;
|
||||
import org.sleuthkit.autopsy.centralrepository.datamodel.EamDbException;
|
||||
import org.sleuthkit.autopsy.corecomponentinterfaces.DataResultViewer;
|
||||
import org.sleuthkit.autopsy.corecomponents.DataResultTopComponent;
|
||||
import org.sleuthkit.autopsy.corecomponents.DataResultViewerTable;
|
||||
|
||||
@@ -69,10 +69,7 @@ public class Md5Node extends DisplayableItemNode {
|
||||
}
|
||||
@Override
|
||||
public Children call() throws Exception {
|
||||
//Check, somehow, that your key has children,
|
||||
//e.g., create "hasChildren" on the object
|
||||
//to look in the database to see whether
|
||||
//the object has children;
|
||||
//Check that the key has children,
|
||||
//if it doesn't have children, return a leaf:
|
||||
if (key.getMetadata().isEmpty()) {
|
||||
return Children.LEAF;
|
||||
|
||||
Reference in New Issue
Block a user