-str #21423 remove deprecated Stage references (#21919)

* -str #21423 remove deprecated Stage references

* include mima filters for removed classes
This commit is contained in:
Konrad Malawski 2016-12-02 14:23:13 +01:00 committed by GitHub
parent cc46d15381
commit 04ab4ebb9c
23 changed files with 210 additions and 1390 deletions

View file

@ -8,7 +8,6 @@ import akka.stream.ActorAttributes.SupervisionStrategy
import akka.stream.Supervision.Decider
import akka.stream._
import akka.stream.impl.fusing.GraphInterpreter.{ DownstreamBoundaryStageLogic, Failed, GraphAssembly, UpstreamBoundaryStageLogic }
import akka.stream.stage.AbstractStage.PushPullGraphStage
import akka.stream.stage.{ GraphStage, GraphStageLogic, InHandler, OutHandler, _ }
import akka.stream.testkit.StreamSpec
import akka.stream.testkit.Utils.TE
@ -330,15 +329,6 @@ trait GraphInterpreterSpecKit extends StreamSpec {
.init()
}
implicit class ToGraphStage[I, O](stage: Stage[I, O]) {
def toGS: PushPullGraphStage[Any, Any, Any] = {
val s = stage
new PushPullGraphStage[Any, Any, Any](
(_) s.asInstanceOf[Stage[Any, Any]],
Attributes.none)
}
}
abstract class OneBoundedSetupWithDecider[T](decider: Decider, _ops: GraphStageWithMaterializedValue[Shape, Any]*) extends Builder {
val ops = _ops.toArray