- Reply reply = webInterface.core().getReply(id);
- Set<Sone> sones = webInterface.core().getLikes(reply);
- return new JsonObject().put("success", true).put("likes", sones.size()).put("sones", getSones(sones));
+ PostReply reply = webInterface.getCore().getReply(id);
+ Set<Sone> sones = webInterface.getCore().getLikes(reply);
+ return createSuccessJsonObject().put("likes", sones.size()).put("sones", getSones(sones));