+str #16610 minor fixes
This commit is contained in:
parent
fde0c11fff
commit
7e488001cc
3 changed files with 9 additions and 5 deletions
|
|
@ -21,7 +21,7 @@ private[akka] object ConstantFun {
|
|||
|
||||
def scalaIdentityFunction[T]: T ⇒ T = conforms
|
||||
|
||||
def returnZero[T](t: T): Long = 0L
|
||||
val zeroLong = (_: Any) ⇒ 0L
|
||||
|
||||
def returnOne[T](t: T): Long = 1L
|
||||
val oneLong = (_: Any) ⇒ 1L
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue