переименование метода getLongPollListener() -> createLongPollListener()
This commit is contained in:
@@ -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");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user