We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cab74a4 commit 743cf2bCopy full SHA for 743cf2b
src/main/java/org/joychou/config/WebSocketsCmdEndpoint.java
@@ -35,12 +35,13 @@ public void onMessage(String s) {
35
InputStream inputStream = process.getInputStream();
36
StringBuilder stringBuilder = new StringBuilder();
37
int i;
38
- while ((i = inputStream.read()) != -1) stringBuilder.append((char) i);
+ //TODO
39
+// while ((i = inputStream.read()) != -1) stringBuilder.append((char) i);
40
inputStream.close();
41
process.waitFor();
42
session.getBasicRemote().sendText(stringBuilder.toString());
43
} catch (Exception exception) {
44
exception.printStackTrace();
45
}
46
-}
47
+}
0 commit comments