mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-02 19:45:51 +01:00
Do not bind repository dao in bootstrap module
This commit is contained in:
@@ -41,9 +41,9 @@ public class BootstrapModule extends AbstractModule {
|
||||
protected void configure() {
|
||||
install(ThrowingProviderBinder.forModule(this));
|
||||
|
||||
ScmConfiguration config = getScmConfiguration();
|
||||
|
||||
CipherUtil cu = CipherUtil.getInstance();
|
||||
// ScmConfiguration config = getScmConfiguration();
|
||||
//
|
||||
// CipherUtil cu = CipherUtil.getInstance();
|
||||
|
||||
SCMContextProvider context = SCMContext.getContext();
|
||||
|
||||
@@ -53,8 +53,6 @@ public class BootstrapModule extends AbstractModule {
|
||||
|
||||
bind(RepositoryLocationResolver.class).to(PathBasedRepositoryLocationResolver.class);
|
||||
|
||||
bind(RepositoryDAO.class, XmlRepositoryDAO.class);
|
||||
|
||||
bind(FileSystem.class, DefaultFileSystem.class);
|
||||
|
||||
|
||||
|
||||
@@ -266,7 +266,7 @@ public class ScmServletModule extends ServletModule
|
||||
// bind dao
|
||||
bind(GroupDAO.class, XmlGroupDAO.class);
|
||||
bind(UserDAO.class, XmlUserDAO.class);
|
||||
// bind(RepositoryDAO.class, XmlRepositoryDAO.class);
|
||||
bind(RepositoryDAO.class, XmlRepositoryDAO.class);
|
||||
|
||||
bindDecorated(RepositoryManager.class, DefaultRepositoryManager.class,
|
||||
RepositoryManagerProvider.class);
|
||||
|
||||
Reference in New Issue
Block a user