From 9bc26efe9dd1346d4318717bbc930bde81e60515 Mon Sep 17 00:00:00 2001 From: Dave Borowitz Date: Thu, 15 Mar 2012 15:46:39 -0700 Subject: [PATCH] Pass a DfsRepositoryDescription to InMemoryRepository This was likely intended originally, but this class had never been used, so the mistake went unnoticed. Change-Id: I5e0e9f22ebf707c11d0581511c7a56b182188f77 --- .../src/org/eclipse/jgit/storage/dfs/InMemoryRepository.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/storage/dfs/InMemoryRepository.java b/org.eclipse.jgit/src/org/eclipse/jgit/storage/dfs/InMemoryRepository.java index 966b5182a..f363fc242 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/storage/dfs/InMemoryRepository.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/storage/dfs/InMemoryRepository.java @@ -36,13 +36,13 @@ public class InMemoryRepository extends DfsRepository { * @param repoDesc * description of the repository. */ - public InMemoryRepository(DfsRepository repoDesc) { + public InMemoryRepository(DfsRepositoryDescription repoDesc) { super(new DfsRepositoryBuilder() { @Override public InMemoryRepository build() throws IOException { throw new UnsupportedOperationException(); } - }); + }.setRepositoryDescription(repoDesc)); objdb = new MemObjDatabase(this); refdb = new MemRefDatabase();