From 1ca40730ef1103866464d47ac71a17b063875285 Mon Sep 17 00:00:00 2001 From: Richard Imaoka Date: Sat, 25 Jun 2016 18:37:22 +0900 Subject: [PATCH] =str Deprecate InvalidAbsorbTermination, please use GraphStage instead. (#20288) (#20386) --- .../test/scala/akka/stream/impl/fusing/InterpreterSpec.scala | 2 ++ 1 file changed, 2 insertions(+) diff --git a/akka-stream-tests/src/test/scala/akka/stream/impl/fusing/InterpreterSpec.scala b/akka-stream-tests/src/test/scala/akka/stream/impl/fusing/InterpreterSpec.scala index ef92c42119..8855f0f43b 100644 --- a/akka-stream-tests/src/test/scala/akka/stream/impl/fusing/InterpreterSpec.scala +++ b/akka-stream-tests/src/test/scala/akka/stream/impl/fusing/InterpreterSpec.scala @@ -550,6 +550,8 @@ class InterpreterSpec extends AkkaSpec with GraphInterpreterSpecKit { } + //#20386 + @deprecated("Usage of PushPullStage is deprecated, please use GraphStage instead", "2.4.5") class InvalidAbsorbTermination extends PushPullStage[Int, Int] { override def onPull(ctx: Context[Int]): SyncDirective = ctx.pull() override def onPush(elem: Int, ctx: Context[Int]): SyncDirective = ctx.push(elem)