Skip to content

Commit 90527e1

Browse files
committed
Removed redundant java.util.function qualifiers
1 parent 9af5a49 commit 90527e1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/manifold/deferred.clj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1610,35 +1610,35 @@
16101610
(def-async-for-dual run-after-both)
16111611

16121612

1613-
(defn- apply-to-either [d other ^java.util.function.Function f]
1613+
(defn- apply-to-either [d other ^Function f]
16141614
(assert-some other f)
16151615
(then-apply (alt d other) f))
16161616

16171617
(def-async-for-dual apply-to-either)
16181618

16191619

1620-
(defn- accept-either [d other ^java.util.function.Function f]
1620+
(defn- accept-either [d other ^Function f]
16211621
(assert-some other f)
16221622
(then-accept (alt d other) f))
16231623

16241624
(def-async-for-dual accept-either)
16251625

16261626

1627-
(defn- run-after-either [d other ^java.util.function.Function f]
1627+
(defn- run-after-either [d other ^Function f]
16281628
(assert-some other f)
16291629
(then-run (alt d other) f))
16301630

16311631
(def-async-for-dual run-after-either)
16321632

16331633

1634-
(defn- then-compose [d ^java.util.function.Function f]
1634+
(defn- then-compose [d ^Function f]
16351635
(assert-some f)
16361636
(mapcat-deferred d (fn [value] (.apply f value))))
16371637

16381638
(def-async-for then-compose)
16391639

16401640

1641-
(defn- then-handle [d ^java.util.function.BiFunction f]
1641+
(defn- then-handle [d ^BiFunction f]
16421642
(assert-some f)
16431643
(let [d' (deferred)]
16441644
(on-realized
@@ -1651,7 +1651,7 @@
16511651
(def-async-for then-handle)
16521652

16531653

1654-
(defn- then-exceptionally [d ^java.util.function.Function f]
1654+
(defn- then-exceptionally [d ^Function f]
16551655
(assert-some f)
16561656
(let [d' (deferred)]
16571657
(on-realized

0 commit comments

Comments
 (0)