=str #16602 Suppress dead letters
* akka 2.3.9 * also added missing `final` to case classes
This commit is contained in:
parent
84a5505ca9
commit
7cf80ab3f3
28 changed files with 145 additions and 129 deletions
|
|
@ -35,8 +35,8 @@ private[akka] final case class Collect[In, Out](pf: PartialFunction[In, Out]) ex
|
|||
import Collect.NotApplied
|
||||
override def onPush(elem: In, ctx: Context[Out]): Directive =
|
||||
pf.applyOrElse(elem, NotApplied) match {
|
||||
case NotApplied ⇒ ctx.pull()
|
||||
case result: Out ⇒ ctx.push(result)
|
||||
case NotApplied ⇒ ctx.pull()
|
||||
case result: Out @unchecked ⇒ ctx.push(result)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue