James Moger
2014-03-17 245836904ba5cecdc31773cf7c9616396c8ad8c0
src/main/java/com/gitblit/transport/ssh/SshCommandFactory.java
@@ -52,14 +52,10 @@
   private static final Logger logger = LoggerFactory.getLogger(SshCommandFactory.class);
   private final IGitblit gitblit;
   private final CachingPublicKeyAuthenticator keyAuthenticator;
   private final ScheduledExecutorService startExecutor;
   public SshCommandFactory(IGitblit gitblit,
         CachingPublicKeyAuthenticator keyAuthenticator,
         IdGenerator idGenerator) {
   public SshCommandFactory(IGitblit gitblit, IdGenerator idGenerator) {
      this.gitblit = gitblit;
      this.keyAuthenticator = keyAuthenticator;
      int threads = 2;// cfg.getInt("sshd","commandStartThreads", 2);
      WorkQueue workQueue = new WorkQueue(idGenerator);
@@ -83,8 +79,6 @@
      // TODO convert these dispatchers to plugin extension points
      root.registerDispatcher(user, GitblitDispatchCommand.class);
      root.registerDispatcher(user, GitDispatchCommand.class);
      root.setAuthenticator(keyAuthenticator);
      return root;
   }