Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: apache/pekko
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 8c6584ae2c6d048d3c6ebd0316cda28c45e3d166
Choose a base ref
..
head repository: apache/pekko
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: e81fd14825a316284bdb863cd110e2552877451b
Choose a head ref
Original file line number Diff line number Diff line change
@@ -27,7 +27,7 @@ import org.apache.pekko.annotation.InternalApi
*/
@InternalApi private[pekko] object PartialFunction {

@inline def fromFunction[A, B](f: (A) => B): scala.PartialFunction[A, B] = {
@inline final def fromFunction[A, B](f: (A) => B): scala.PartialFunction[A, B] = {
@nowarn val pf = scala.PartialFunction(f)
pf
}
Original file line number Diff line number Diff line change
@@ -25,7 +25,7 @@ import org.apache.pekko.annotation.InternalApi
*/
@InternalApi private[pekko] object PartialFunction {

@inline def fromFunction[A, B](f: A => B): scala.PartialFunction[A, B] = {
@inline final def fromFunction[A, B](f: A => B): scala.PartialFunction[A, B] = {
scala.PartialFunction.fromFunction(f)
}