htc #20379 add mima filters for custom media type
This commit is contained in:
parent
313606eb1c
commit
d886a1d0b5
15 changed files with 172 additions and 19 deletions
|
|
@ -21,9 +21,17 @@ private[akka] object ConstantFun {
|
|||
|
||||
def scalaIdentityFunction[T]: T ⇒ T = conforms
|
||||
|
||||
def scalaAnyToNone[A, B]: A ⇒ Option[B] = none
|
||||
def scalaAnyTwoToNone[A, B, C]: (A, B) ⇒ Option[C] = two2none
|
||||
def javaAnyToNone[A, B]: A ⇒ Option[B] = none
|
||||
|
||||
val zeroLong = (_: Any) ⇒ 0L
|
||||
|
||||
val oneLong = (_: Any) ⇒ 1L
|
||||
|
||||
val oneInt = (_: Any) ⇒ 1
|
||||
|
||||
val none = (_: Any) ⇒ None
|
||||
|
||||
val two2none = (_: Any, _: Any) ⇒ None
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue