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

@ -30,6 +30,7 @@ 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

View File

@ -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<? extends Object> contentKeys;
/**
* @param contentKeys root Content objects for the Node tree