suppress build warnings

This commit is contained in:
Dick Fickling 2012-04-19 10:17:59 -04:00
parent c5ab222bdd
commit e67f33f73b
2 changed files with 3 additions and 2 deletions

View File

@ -29,7 +29,8 @@ import org.openide.nodes.PropertySupport;
class NodeProperty extends PropertySupport.ReadOnly { class NodeProperty extends PropertySupport.ReadOnly {
private Object value; private Object value;
@SuppressWarnings({"unchecked"})
NodeProperty(String name, String displayName, String desc, Object value) { NodeProperty(String name, String displayName, String desc, Object value) {
super(name, value.getClass(), displayName, desc); super(name, value.getClass(), displayName, desc);
setValue("suppressCustomEditor", Boolean.TRUE); // remove the "..." (editing) button setValue("suppressCustomEditor", Boolean.TRUE); // remove the "..." (editing) button

View File

@ -29,7 +29,7 @@ import org.sleuthkit.datamodel.BlackboardArtifact;
* list of root Content objects for the tree. * list of root Content objects for the tree.
*/ */
public class RootContentChildren extends AbstractContentChildren { public class RootContentChildren extends AbstractContentChildren {
private Collection contentKeys; private Collection<? extends Object> contentKeys;
/** /**
* @param contentKeys root Content objects for the Node tree * @param contentKeys root Content objects for the Node tree