From: Robin Rosenberg <robin.rosenberg.lists@dewire.com>
To: "Shawn O. Pearce" <spearce@spearce.org>
Cc: git@vger.kernel.org
Subject: [JGIT PATCH] Drop obsolete MyIndexTreeVisitor from test code
Date: Fri, 22 Aug 2008 22:51:50 +0200 [thread overview]
Message-ID: <200808222251.50869.robin.rosenberg.lists@dewire.com> (raw)
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
reply other threads:[~2008-08-22 20:54 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200808222251.50869.robin.rosenberg.lists@dewire.com \
--to=robin.rosenberg.lists@dewire.com \
--cc=git@vger.kernel.org \
--cc=spearce@spearce.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).