Skip to content

Commit

Permalink
Remove final
Browse files Browse the repository at this point in the history
  • Loading branch information
He-Pin committed Jan 23, 2024
1 parent d771ef1 commit 963be0d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ private[stream] object Collect {
// Cached function that can be used with PartialFunction.applyOrElse to ensure that A) the guard is only applied once,
// and the caller can check the returned value with Collect.notApplied to query whether the PF was applied or not.
// Prior art: https://github.com/scala/scala/blob/v2.11.4/src/library/scala/collection/immutable/List.scala#L458
final object NotApplied extends (Any => Any) {
object NotApplied extends (Any => Any) {
final override def apply(v1: Any): Any = this
}
}
Expand Down

0 comments on commit 963be0d

Please sign in to comment.