From e67f33f73bb2b34525c0bd3a75cf531c3e01cc38 Mon Sep 17 00:00:00 2001 From: Dick Fickling Date: Thu, 19 Apr 2012 10:17:59 -0400 Subject: [PATCH] suppress build warnings --- .../src/org/sleuthkit/autopsy/datamodel/NodeProperty.java | 3 ++- .../org/sleuthkit/autopsy/datamodel/RootContentChildren.java | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/DataModel/src/org/sleuthkit/autopsy/datamodel/NodeProperty.java b/DataModel/src/org/sleuthkit/autopsy/datamodel/NodeProperty.java index 13c91ab436..5f8706b5e2 100644 --- a/DataModel/src/org/sleuthkit/autopsy/datamodel/NodeProperty.java +++ b/DataModel/src/org/sleuthkit/autopsy/datamodel/NodeProperty.java @@ -29,7 +29,8 @@ import org.openide.nodes.PropertySupport; class NodeProperty extends PropertySupport.ReadOnly { private Object value; - + + @SuppressWarnings({"unchecked"}) NodeProperty(String name, String displayName, String desc, Object value) { super(name, value.getClass(), displayName, desc); setValue("suppressCustomEditor", Boolean.TRUE); // remove the "..." (editing) button diff --git a/DataModel/src/org/sleuthkit/autopsy/datamodel/RootContentChildren.java b/DataModel/src/org/sleuthkit/autopsy/datamodel/RootContentChildren.java index 020a77799e..c34e055719 100644 --- a/DataModel/src/org/sleuthkit/autopsy/datamodel/RootContentChildren.java +++ b/DataModel/src/org/sleuthkit/autopsy/datamodel/RootContentChildren.java @@ -29,7 +29,7 @@ import org.sleuthkit.datamodel.BlackboardArtifact; * list of root Content objects for the tree. */ public class RootContentChildren extends AbstractContentChildren { - private Collection contentKeys; + private Collection contentKeys; /** * @param contentKeys root Content objects for the Node tree