From f22b28dc7222c96edeb1e78d850fafb428a22576 Mon Sep 17 00:00:00 2001 From: rusefi Date: Wed, 8 Jul 2020 20:51:29 -0400 Subject: [PATCH] proxy progress --- .../io/src/main/java/com/rusefi/io/tcp/TcpIoStream.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/java_console/io/src/main/java/com/rusefi/io/tcp/TcpIoStream.java b/java_console/io/src/main/java/com/rusefi/io/tcp/TcpIoStream.java index 6ae13ba49b..e97deb2605 100644 --- a/java_console/io/src/main/java/com/rusefi/io/tcp/TcpIoStream.java +++ b/java_console/io/src/main/java/com/rusefi/io/tcp/TcpIoStream.java @@ -25,13 +25,13 @@ public class TcpIoStream implements IoStream { public TcpIoStream(Logger logger, Socket socket) throws IOException { InputStream input1 = new BufferedInputStream(socket.getInputStream()); - OutputStream output1 = socket.getOutputStream(); + OutputStream output = socket.getOutputStream(); this.logger = logger; if (input1 == null) throw new NullPointerException("input"); - if (output1 == null) + if (output == null) throw new NullPointerException("output"); - this.output = output1; + this.output = output; this.input = input1; }