diff options
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/treewalk/TreeWalk.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/treewalk/TreeWalk.java b/org.eclipse.jgit/src/org/eclipse/jgit/treewalk/TreeWalk.java index 75961fc3b3..627df927b4 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/treewalk/TreeWalk.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/treewalk/TreeWalk.java @@ -594,6 +594,7 @@ public class TreeWalk { * @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 class TreeWalk { System.arraycopy(tmp, 0, trees, 0, trees.length); } + @SuppressWarnings("unused") AbstractTreeIterator min() throws CorruptObjectException { int i = 0; AbstractTreeIterator minRef = trees[i]; |