proxy progress
This commit is contained in:
parent
7a9b06e317
commit
f22b28dc72
|
@ -25,13 +25,13 @@ public class TcpIoStream implements IoStream {
|
||||||
|
|
||||||
public TcpIoStream(Logger logger, Socket socket) throws IOException {
|
public TcpIoStream(Logger logger, Socket socket) throws IOException {
|
||||||
InputStream input1 = new BufferedInputStream(socket.getInputStream());
|
InputStream input1 = new BufferedInputStream(socket.getInputStream());
|
||||||
OutputStream output1 = socket.getOutputStream();
|
OutputStream output = socket.getOutputStream();
|
||||||
this.logger = logger;
|
this.logger = logger;
|
||||||
if (input1 == null)
|
if (input1 == null)
|
||||||
throw new NullPointerException("input");
|
throw new NullPointerException("input");
|
||||||
if (output1 == null)
|
if (output == null)
|
||||||
throw new NullPointerException("output");
|
throw new NullPointerException("output");
|
||||||
this.output = output1;
|
this.output = output;
|
||||||
this.input = input1;
|
this.input = input1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue