summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorDave Borowitz2012-03-15 18:46:39 (EDT)
committer Dave Borowitz2012-03-15 18:46:39 (EDT)
commit9bc26efe9dd1346d4318717bbc930bde81e60515 (patch)
tree970e884fba30e597f9837068db9894d7d736318a
parentff13648ea295bba02ca192c00a39335b05468abe (diff)
downloadjgit-9bc26efe9dd1346d4318717bbc930bde81e60515.zip
jgit-9bc26efe9dd1346d4318717bbc930bde81e60515.tar.gz
jgit-9bc26efe9dd1346d4318717bbc930bde81e60515.tar.bz2
Pass a DfsRepositoryDescription to InMemoryRepositoryrefs/changes/70/5370/1
This was likely intended originally, but this class had never been used, so the mistake went unnoticed. Change-Id: I5e0e9f22ebf707c11d0581511c7a56b182188f77
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/storage/dfs/InMemoryRepository.java4
1 files 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 966b518..f363fc2 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<DfsRepositoryBuilder, InMemoryRepository>() {
@Override
public InMemoryRepository build() throws IOException {
throw new UnsupportedOperationException();
}
- });
+ }.setRepositoryDescription(repoDesc));
objdb = new MemObjDatabase(this);
refdb = new MemRefDatabase();