Skip to content

Commit 039cb2a

Browse files
committed
Add CompletionStage import
1 parent b6bce97 commit 039cb2a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/manifold/deferred.clj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
TimeUnit
2525
CountDownLatch
2626
Executor
27-
CompletionStage]
27+
CompletionStage
28+
CompletableFuture]
2829
[java.util.function
2930
Function
3031
BiFunction
@@ -1658,7 +1659,7 @@
16581659

16591660
(defn- to-completable-future [d]
16601661

1661-
(let [result (java.util.concurrent.CompletableFuture.)]
1662+
(let [result (CompletableFuture.)]
16621663

16631664
(on-realized d
16641665
#(.complete result %)

0 commit comments

Comments
 (0)