We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 35831f4 + 1912814 commit 668c31aCopy full SHA for 668c31a
src/main/scala/scala/concurrent/java8/FutureConvertersImpl.scala
@@ -87,8 +87,6 @@ object FuturesConvertersImpl {
87
}
88
89
class P[T](val wrapped: CompletionStage[T]) extends DefaultPromise[T] with BiConsumer[T, Throwable] {
90
- override def onSuccess[U](pf: PartialFunction[T, U])(implicit executor: ExecutionContext): Unit = super.onSuccess(pf)
91
-
92
override def accept(v: T, e: Throwable): Unit = {
93
if (e == null) complete(Success(v))
94
else complete(Failure(e))
0 commit comments