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:
parent
ff13648ea2
commit
9bc26efe9d
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue