Skip to content

Commit 6bc80d9

Browse files
HsaylorHarrison
authored andcommitted
Commit correct README this time
1 parent 10a6366 commit 6bc80d9

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,21 @@ service.getDialogs().enqueue(new ServiceCallback<List<Dialog>>() {
7373

7474
For more information, take a look at the [CHANGELOG](CHANGELOG.md).
7575

76+
## Migration
77+
78+
To migrate to 3.0 from a previous version, simply add `.execute()` to the old methods.
79+
For example if you previously had
80+
```java
81+
List<Dialog> dialogs = dialogService.getDialogs();
82+
System.out.println(dialogs);
83+
```
84+
Just add `execute()` on the end and your code will work exactly the same as before.
85+
86+
```java
87+
List<Dialog> dialogs = dialogService.getDialogs().execute();
88+
System.out.println(dialogs);
89+
```
90+
7691
## Installation
7792

7893
##### Maven
-1.28 MB
Binary file not shown.

0 commit comments

Comments
 (0)