Archived
0

переименование метода getLongPollListener() -> createLongPollListener()

This commit is contained in:
2018-12-10 12:36:22 +03:00
parent aad97fdd38
commit 5b81634bfb

View File

@@ -76,7 +76,7 @@ public class VkApi implements Runnable {
.build()); .build());
} }
public LongPollListener getLongPollListener() throws IOException { public LongPollListener createLongPollListener() throws IOException {
JsonObject jsonObject = execApi("messages.getLongPollServer", Collections.singletonMap("need_pts", "1")); JsonObject jsonObject = execApi("messages.getLongPollServer", Collections.singletonMap("need_pts", "1"));
jsonObject = jsonObject.getAsJsonObject("response"); jsonObject = jsonObject.getAsJsonObject("response");