Update SSHD to 1.0-r784137

This now uses MINA 2.0.0-M6.

Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
Shawn O. Pearce
2009-06-12 10:18:09 -07:00
parent 3d74122c74
commit 45e3c749a9
2 changed files with 2 additions and 3 deletions

View File

@@ -20,7 +20,6 @@ import org.spearce.jgit.lib.Constants;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.Map;
/**
* Dummy shell which prints a message and terminates.
@@ -53,7 +52,7 @@ class NoShell implements ShellFactory {
this.exit = callback;
}
public void start(final Map<String, String> env) throws IOException {
public void start(final Environment env) throws IOException {
err.write(Constants.encodeASCII("gerrit: no shell available\n"));
in.close();
out.close();