Suppress unused and unchecked warnings
Change-Id: I9f51cc749f5cb9d2e3aa86874e60fca29b779565 Signed-off-by: Kevin Sawicki <kevin@github.com>
This commit is contained in:
parent
9f81c6813a
commit
5041f738e9
|
@ -594,6 +594,7 @@ public boolean next() throws MissingObjectException,
|
||||||
* @return r the current iterator of the requested type; null if the tree
|
* @return r the current iterator of the requested type; null if the tree
|
||||||
* has no entry to match the current path.
|
* has no entry to match the current path.
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("unchecked")
|
||||||
public <T extends AbstractTreeIterator> T getTree(final int nth,
|
public <T extends AbstractTreeIterator> T getTree(final int nth,
|
||||||
final Class<T> clazz) {
|
final Class<T> clazz) {
|
||||||
final AbstractTreeIterator t = trees[nth];
|
final AbstractTreeIterator t = trees[nth];
|
||||||
|
@ -914,6 +915,7 @@ public void enterSubtree() throws MissingObjectException,
|
||||||
System.arraycopy(tmp, 0, trees, 0, trees.length);
|
System.arraycopy(tmp, 0, trees, 0, trees.length);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings("unused")
|
||||||
AbstractTreeIterator min() throws CorruptObjectException {
|
AbstractTreeIterator min() throws CorruptObjectException {
|
||||||
int i = 0;
|
int i = 0;
|
||||||
AbstractTreeIterator minRef = trees[i];
|
AbstractTreeIterator minRef = trees[i];
|
||||||
|
|
Loading…
Reference in New Issue