proxy progress

This commit is contained in:
rusefi 2020-07-08 20:51:46 -04:00
parent f22b28dc72
commit 5c37575d49
1 changed files with 3 additions and 3 deletions

View File

@ -24,15 +24,15 @@ public class TcpIoStream implements IoStream {
private IncomingDataBuffer dataBuffer; private IncomingDataBuffer dataBuffer;
public TcpIoStream(Logger logger, Socket socket) throws IOException { public TcpIoStream(Logger logger, Socket socket) throws IOException {
InputStream input1 = new BufferedInputStream(socket.getInputStream()); InputStream input = new BufferedInputStream(socket.getInputStream());
OutputStream output = socket.getOutputStream(); OutputStream output = socket.getOutputStream();
this.logger = logger; this.logger = logger;
if (input1 == null) if (input == null)
throw new NullPointerException("input"); throw new NullPointerException("input");
if (output == null) if (output == null)
throw new NullPointerException("output"); throw new NullPointerException("output");
this.output = output; this.output = output;
this.input = input1; this.input = input;
} }
private TcpIoStream(Logger logger, InputStream input, OutputStream output) { private TcpIoStream(Logger logger, InputStream input, OutputStream output) {