aboutsummaryrefslogtreecommitdiff
path: root/juick-demo/src/main/java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-12-19 15:02:56 +0300
committerGravatar Vitaly Takmazov2016-12-19 15:02:56 +0300
commit7293d22f1aa731610849a8657b8ae462eb67eee2 (patch)
tree49e36037b6cc09c8c37093a4d34a713803382d7a /juick-demo/src/main/java
parent16d02ab9e31cd4a68334575499d039d48a5fb0a9 (diff)
juick-server: drop json part from JuickProtocol reply
Diffstat (limited to 'juick-demo/src/main/java')
-rw-r--r--juick-demo/src/main/java/com/juick/demo/DemoApp.java2
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) {