Skip to content

Commit 74c9cce

Browse files
committed
Readme correction
1 parent 97c6def commit 74c9cce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ and some of which may have failed. From that data loader can infer the right be
266266
```java
267267
DataLoader<String, User> dataLoader = DataLoader.newDataLoaderWithTry(new BatchLoader<String, Try<User>>() {
268268
@Override
269-
public CompletionStage<List<Try<User>>> load(List<String> keys, BatchLoaderEnvironment environment) {
269+
public CompletionStage<List<Try<User>>> load(List<String> keys) {
270270
return CompletableFuture.supplyAsync(() -> {
271271
List<Try<User>> users = new ArrayList<>();
272272
for (String key : keys) {

0 commit comments

Comments
 (0)