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
This commit is contained in:
Dave Borowitz 2012-03-15 15:46:39 -07:00
parent ff13648ea2
commit 9bc26efe9d
1 changed files with 2 additions and 2 deletions

View File

@ -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();