}
}
- private JcrFileSystem tryGetRepo(RepositoryFactory repositoryFactory, URI repoUri, String workspace) {
+ private JcrFileSystem tryGetRepo(RepositoryFactory repositoryFactory, URI repoUri, String workspace)
+ throws IOException {
Map<String, String> params = new HashMap<String, String>();
params.put(JACKRABBIT_REPOSITORY_URI, repoUri.toString());
params.put(JACKRABBIT_REMOTE_DEFAULT_WORKSPACE, "main");
}
return tryGetRepo(repositoryFactory, nextUri, nextWorkspace);
} else {
- JcrFileSystem fileSystem = new JcrFileSystem(this, session);
+ JcrFileSystem fileSystem = new JcrFileSystem(this, repository);
fileSystems.put(repoUri.toString() + "/" + workspace, fileSystem);
return fileSystem;
}