Skip to contentSkip to conversation

Drop obsolete MyIndexTreeVisitor from test code

PATCH New Robin Rosenberg 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Drop obsolete MyIndexTreeVisitor from test code

---
 .../org/spearce/jgit/lib/IndexTreeWalkerTest.java  |   13 -------------
 1 files changed, 0 insertions(+), 13 deletions(-)
org.spearce.jgit.test/tst/org/spearce/jgit/lib/IndexTreeWalkerTest.java +0 -13
index d0c6581..c7c283e 100644
@@ -120,19 +120,6 @@ public void testIndexOnlySubDirs() throws IOException {
 		assertEquals("foo/bar/baz", indexOnlyEntriesVisited.get(1));
 	}
 	
-	public class MyIndexTreeVisitor extends AbstractIndexTreeVisitor {
-		public ArrayList<String> visits = new ArrayList<String>();
-		public void visitEntry(TreeEntry treeEntry, TreeEntry auxEntry,
-				Entry indexEntry, File file) throws IOException {
-			visits.add(file.getPath());
-		}
-	
-		public void visitEntry(TreeEntry treeEntry, Entry indexEntry, File file)
-				throws IOException {
-			visits.add(file.getPath());
-		}
-	}
-	
 	public void testLeavingTree() throws IOException {
 		GitIndex index = new GitIndex(db);
 		index.add(trash, writeTrashFile("foo/bar", "foo/bar"));
Signature · 1 line
1.6.0.rc2.35.g04c6e9