瀏覽代碼

1.按钮盒代码优化

k 1 年之前
父節點
當前提交
e7679d48c9
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/com/warewms/thread/ReadClientDataThread.java

+ 1 - 1
src/main/java/com/warewms/thread/ReadClientDataThread.java

@@ -28,7 +28,7 @@ public class ReadClientDataThread implements Runnable {
             ipHome = address.getHostAddress();
             is = socket.getInputStream();
             os = socket.getOutputStream();
-            socket = socket;
+            this.socket = socket;
         } catch (IOException e) {
             System.out.println("获取已连接会话中的输入流出现了错误:\n");
             e.printStackTrace();