* [JGIT PATCH] Drop obsolete MyIndexTreeVisitor from test code
@ 2008-08-22 20:51 Robin Rosenberg
0 siblings, 0 replies; only message in thread
From: Robin Rosenberg @ 2008-08-22 20:51 UTC (permalink / raw)
To: Shawn O. Pearce; +Cc: git
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
---
.../org/spearce/jgit/lib/IndexTreeWalkerTest.java | 13 -------------
1 files changed, 0 insertions(+), 13 deletions(-)
diff --git a/org.spearce.jgit.test/tst/org/spearce/jgit/lib/IndexTreeWalkerTest.java b/org.spearce.jgit.test/tst/org/spearce/jgit/lib/IndexTreeWalkerTest.java
index d0c6581..c7c283e 100644
--- a/org.spearce.jgit.test/tst/org/spearce/jgit/lib/IndexTreeWalkerTest.java
+++ b/org.spearce.jgit.test/tst/org/spearce/jgit/lib/IndexTreeWalkerTest.java
@@ -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"));
--
1.6.0.rc2.35.g04c6e9
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2008-08-22 20:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-22 20:51 [JGIT PATCH] Drop obsolete MyIndexTreeVisitor from test code Robin Rosenberg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).