Suppress unused and unchecked warnings

Change-Id: I9f51cc749f5cb9d2e3aa86874e60fca29b779565
Signed-off-by: Kevin Sawicki <kevin@github.com>
This commit is contained in:
Kevin Sawicki 2011-11-03 11:03:01 +01:00
parent 9f81c6813a
commit 5041f738e9
1 changed files with 2 additions and 0 deletions

View File

@ -594,6 +594,7 @@ public boolean next() throws MissingObjectException,
* @return r the current iterator of the requested type; null if the tree
* has no entry to match the current path.
*/
@SuppressWarnings("unchecked")
public <T extends AbstractTreeIterator> T getTree(final int nth,
final Class<T> clazz) {
final AbstractTreeIterator t = trees[nth];
@ -914,6 +915,7 @@ public void enterSubtree() throws MissingObjectException,
System.arraycopy(tmp, 0, trees, 0, trees.length);
}
@SuppressWarnings("unused")
AbstractTreeIterator min() throws CorruptObjectException {
int i = 0;
AbstractTreeIterator minRef = trees[i];