From 7293d22f1aa731610849a8657b8ae462eb67eee2 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Mon, 19 Dec 2016 15:02:56 +0300 Subject: juick-server: drop json part from JuickProtocol reply --- juick-demo/src/main/java/com/juick/demo/DemoApp.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'juick-demo/src') 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) { -- cgit v1.2.3