Various scala-2.13.0-M5 fixes

Clearer imports in TcpDnsClient

Accept SVG's when checking if diagrams were generated

Fix akka-actor MiMa issues

akka-testkit scalafix changes

Update scalatest to 2.13-released snapshot

akka-stream scalafix changes

Update ssl-config

To version that's released with -M5

Take elements directly out of buffer

Manually fix immutable.Seq / Doc link

Make sure the right Concat, Sink is imported

akka-stream binary compat

akka-stream-testkit scalafix

akka-actor-tests scalafix

Eta-expensions
This commit is contained in:
Arnout Engelen 2018-11-21 15:00:29 +01:00 committed by Arnout Engelen
parent 10575ce8c5
commit 0cc8e20a2e
No known key found for this signature in database
GPG key ID: BB8C0F854A1E2105
31 changed files with 102 additions and 60 deletions

View file

@ -186,7 +186,10 @@ import scala.util.control.NonFatal
override def offer(element: T): Future[QueueOfferResult] = {
val p = Promise[QueueOfferResult]
callback.invokeWithFeedback(Offer(element, p))
.onFailure { case NonFatal(e) p.tryFailure(e) }(akka.dispatch.ExecutionContexts.sameThreadExecutionContext)
.onComplete {
case scala.util.Failure(NonFatal(e)) p.tryFailure(e)
case _ ()
}(akka.dispatch.ExecutionContexts.sameThreadExecutionContext)
p.future
}
override def complete(): Unit = callback.invoke(Completion)