Skip to content

Commit 52b7da7

Browse files
committed
unify style
1 parent 006c0cf commit 52b7da7

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/main/java/org/dataloader/DataLoaderHelper.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -190,10 +190,9 @@ CompletableFuture<V> load(K key, Object loadContext) {
190190
ctx.onDispatched();
191191
loaderOptions.getDispatchStrategy().loadCalled(dataLoader, key, loadContext, loadCallFuture);
192192
loadCallFuture = loadCallFuture.whenComplete((result, error) -> {
193-
loaderOptions.getDispatchStrategy().loadCompleted(dataLoader, result, error);
194-
ctx.onCompleted(result, error);
195-
}
196-
);
193+
loaderOptions.getDispatchStrategy().loadCompleted(dataLoader, result, error);
194+
ctx.onCompleted(result, error);
195+
});
197196
return loadCallFuture;
198197
}
199198

0 commit comments

Comments
 (0)