diff options
author | 2016-12-19 15:02:56 +0300 | |
---|---|---|
committer | 2016-12-19 15:02:56 +0300 | |
commit | 7293d22f1aa731610849a8657b8ae462eb67eee2 (patch) | |
tree | 49e36037b6cc09c8c37093a4d34a713803382d7a /juick-demo | |
parent | 16d02ab9e31cd4a68334575499d039d48a5fb0a9 (diff) |
juick-server: drop json part from JuickProtocol reply
Diffstat (limited to 'juick-demo')
-rw-r--r-- | juick-demo/src/main/java/com/juick/demo/DemoApp.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-demo/src/main/java/com/juick/demo/DemoApp.java b/juick-demo/src/main/java/com/juick/demo/DemoApp.java index 0c9390dd..ccc86a40 100644 --- a/juick-demo/src/main/java/com/juick/demo/DemoApp.java +++ b/juick-demo/src/main/java/com/juick/demo/DemoApp.java @@ -62,7 +62,7 @@ public class DemoApp { String input; while ((input = reader.readLine()) != null) { ProtocolReply reply = juickProtocol.getReply(ugnich, input); - out.println(reply.getDescription()); + out.println(reply.getResult()); out.flush(); } } catch (IOException | NoSuchMethodException e) { |