mirror of
https://github.com/google/nomulus
synced 2026-09-08 00:57:25 +00:00
Upgrade apache_sshd CL #2: Update to v1_2_0
This changelist makes the newly added v1_2_0 the default and fixes incompatibilities ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=125609347
This commit is contained in:
@@ -20,7 +20,6 @@ import google.registry.util.NetworkUtils;
|
||||
|
||||
import org.apache.ftpserver.FtpServer;
|
||||
import org.apache.ftpserver.ftplet.FtpException;
|
||||
import org.apache.sshd.server.session.SessionFactory;
|
||||
import org.junit.rules.ExternalResource;
|
||||
|
||||
import java.io.File;
|
||||
@@ -60,8 +59,7 @@ public final class SftpServerRule extends ExternalResource {
|
||||
|
||||
private static FtpServer createSftpServer(String user, String pass, File home, int port)
|
||||
throws FtpException {
|
||||
FtpServer server =
|
||||
TestSftpServer.createSftpServer(user, pass, null, port, home, new SessionFactory());
|
||||
FtpServer server = TestSftpServer.createSftpServer(user, pass, null, port, home);
|
||||
server.start();
|
||||
return server;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user