summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.ant.test
diff options
context:
space:
mode:
authorRobin Rosenberg <robin.rosenberg@dewire.com>2013-04-16 00:05:41 +0200
committerChris Aniszczyk <zx@twitter.com>2013-04-18 15:33:50 -0500
commit526b6266a5afa1de67a1667230fc4ebea331dab5 (patch)
tree6fc9562072694ee57a62b33336486f575fac1ad0 /org.eclipse.jgit.ant.test
parent6e90671a51eb91f4c53263e4169e736da6476ba2 (diff)
downloadjgit-526b6266a5afa1de67a1667230fc4ebea331dab5.tar.gz
jgit-526b6266a5afa1de67a1667230fc4ebea331dab5.zip
Remove some unnecessary dependencies on FileRepostory
Change-Id: Ib6ee3a2874a7e2240aa68f4ac32d00c4d1fab5ae Signed-off-by: Chris Aniszczyk <zx@twitter.com>
Diffstat (limited to 'org.eclipse.jgit.ant.test')
-rw-r--r--org.eclipse.jgit.ant.test/src/org/eclipse/jgit/ant/tasks/GitCloneTaskTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.jgit.ant.test/src/org/eclipse/jgit/ant/tasks/GitCloneTaskTest.java b/org.eclipse.jgit.ant.test/src/org/eclipse/jgit/ant/tasks/GitCloneTaskTest.java
index a5a0dd50c2..7cd5b74516 100644
--- a/org.eclipse.jgit.ant.test/src/org/eclipse/jgit/ant/tasks/GitCloneTaskTest.java
+++ b/org.eclipse.jgit.ant.test/src/org/eclipse/jgit/ant/tasks/GitCloneTaskTest.java
@@ -50,8 +50,8 @@ import java.io.IOException;
import org.apache.tools.ant.BuildException;
import org.apache.tools.ant.DefaultLogger;
import org.apache.tools.ant.Project;
-import org.eclipse.jgit.internal.storage.file.FileRepository;
import org.eclipse.jgit.junit.LocalDiskRepositoryTestCase;
+import org.eclipse.jgit.lib.Repository;
import org.eclipse.jgit.lib.RepositoryCache;
import org.eclipse.jgit.util.FS;
import org.junit.Before;
@@ -99,7 +99,7 @@ public class GitCloneTaskTest extends LocalDiskRepositoryTestCase {
@Test
public void shouldCloneAValidGitRepository() throws Exception {
- FileRepository repo = createBareRepository();
+ Repository repo = createBareRepository();
File directory = repo.getDirectory();
task.setUri("file://" + directory);
task.execute();
@@ -109,7 +109,7 @@ public class GitCloneTaskTest extends LocalDiskRepositoryTestCase {
@Test
public void shouldCreateABareCloneOfAValidGitRepository() throws Exception {
- FileRepository repo = createBareRepository();
+ Repository repo = createBareRepository();
File directory = repo.getDirectory();
task.setUri("file://" + directory);
task.setBare(true);