diff --git a/org.eclipse.jgit.java7.test/src/org/eclipse/jgit/treewalk/FileTreeIteratorJava7Test.java b/org.eclipse.jgit.java7.test/src/org/eclipse/jgit/treewalk/FileTreeIteratorJava7Test.java index 2b2d65e9b..2ed56463b 100644 --- a/org.eclipse.jgit.java7.test/src/org/eclipse/jgit/treewalk/FileTreeIteratorJava7Test.java +++ b/org.eclipse.jgit.java7.test/src/org/eclipse/jgit/treewalk/FileTreeIteratorJava7Test.java @@ -107,7 +107,6 @@ public class FileTreeIteratorJava7Test extends RepositoryTestCase { new Git(db).reset().setMode(ResetType.HARD).call(); DirCacheIterator dci = new DirCacheIterator(db.readDirCache()); FileTreeIterator fti = new FileTreeIterator(db); - fti.next(1); // Skips .git // self-check assertEquals("link", fti.getEntryPathString()); @@ -147,7 +146,6 @@ public class FileTreeIteratorJava7Test extends RepositoryTestCase { new Git(db).reset().setMode(ResetType.HARD).call(); DirCacheIterator dci = new DirCacheIterator(db.readDirCache()); FileTreeIterator fti = new FileTreeIterator(db); - fti.next(1); // Skips .git // self-check assertEquals("link", fti.getEntryPathString()); @@ -189,7 +187,6 @@ public class FileTreeIteratorJava7Test extends RepositoryTestCase { FS.DETECTED.createSymLink(new File(trash, "link"), "newtarget"); DirCacheIterator dci = new DirCacheIterator(db.readDirCache()); FileTreeIterator fti = new FileTreeIterator(db); - fti.next(1); // Skips .git // self-check assertEquals("link", fti.getEntryPathString());