Sfoglia il codice sorgente

1.按钮盒代码优化

k 1 anno fa
parent
commit
e7679d48c9

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

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