Change SocketClient to public so that SSHClient can be mocked for testing.

This commit is contained in:
rws
2011-11-16 23:51:05 +08:00
committed by Shikhar Bhushan
parent f7e47cffa0
commit 07c61b14e8
2 changed files with 5 additions and 4 deletions

View File

@@ -6,7 +6,7 @@
<groupId>net.schmizz</groupId>
<artifactId>sshj</artifactId>
<packaging>bundle</packaging>
<version>0.6.2-SNAPSHOT</version>
<version>0.6.2-rws</version>
<name>sshj</name>
<description>SSHv2 library for Java</description>

View File

@@ -35,8 +35,6 @@
*/
package net.schmizz.sshj;
import javax.net.ServerSocketFactory;
import javax.net.SocketFactory;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
@@ -44,8 +42,11 @@ import java.net.InetAddress;
import java.net.InetSocketAddress;
import java.net.Socket;
import javax.net.ServerSocketFactory;
import javax.net.SocketFactory;
abstract class SocketClient {
public abstract class SocketClient {
private final int defaultPort;