From 963be0de8cdf6fd464e3e316eb72daf084d66b88 Mon Sep 17 00:00:00 2001 From: He-Pin Date: Tue, 23 Jan 2024 12:42:38 +0800 Subject: [PATCH] Remove final --- .../main/scala/org/apache/pekko/stream/impl/fusing/Ops.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stream/src/main/scala/org/apache/pekko/stream/impl/fusing/Ops.scala b/stream/src/main/scala/org/apache/pekko/stream/impl/fusing/Ops.scala index 3d60de56d6..86d51e93ba 100644 --- a/stream/src/main/scala/org/apache/pekko/stream/impl/fusing/Ops.scala +++ b/stream/src/main/scala/org/apache/pekko/stream/impl/fusing/Ops.scala @@ -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 } }