The value was always the same as the field it shadowed --- .../src/org/spearce/jgit/lib/IndexTreeWalker.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/org.spearce.jgit/src/org/spearce/jgit/lib/IndexTreeWalker.java b/org.spearce.jgit/src/org/spearce/jgit/lib/IndexTreeWalker.java index e2078e1..0f1aef4 100644 --- a/org.spearce.jgit/src/org/spearce/jgit/lib/IndexTreeWalker.java +++ b/org.spearce.jgit/src/org/spearce/jgit/lib/IndexTreeWalker.java @@ -126,7 +126,7 @@ private void walk(Tree tree, Tree auxTree) throws IOException { if (pi != null) visitEntry(pm, pa, pi); else - finishVisitTree(pm, pa, curIndexPos, root); + finishVisitTree(pm, pa, curIndexPos); if (pm != null) m = mi.hasNext() ? mi.next() : null; if (pa != null) a = ai.hasNext() ? ai.next() : null; @@ -160,7 +160,7 @@ else if (t2 != null) visitor.visitEntry(t1, i, f); } - private void finishVisitTree(TreeEntry t1, TreeEntry t2, int curIndexPos, File root) + private void finishVisitTree(TreeEntry t1, TreeEntry t2, int curIndexPos) throws IOException { assert t1 != null || t2 != null : "Needs at least one entry"; -- 1.6.1.285.g35d8b -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html