From ad7fabf2cd1537db25e891e85b694ab82c4b3a43 Mon Sep 17 00:00:00 2001 From: Johannes Rudolph Date: Wed, 15 Mar 2017 13:44:10 +0100 Subject: [PATCH] =htc remove useless declarations --- akka-http-core/src/test/scala/akka/stream/testkit/Utils.scala | 2 -- 1 file changed, 2 deletions(-) diff --git a/akka-http-core/src/test/scala/akka/stream/testkit/Utils.scala b/akka-http-core/src/test/scala/akka/stream/testkit/Utils.scala index 0303dfd6709..f2a1376d6d8 100644 --- a/akka-http-core/src/test/scala/akka/stream/testkit/Utils.scala +++ b/akka-http-core/src/test/scala/akka/stream/testkit/Utils.scala @@ -24,8 +24,6 @@ object Utils { def assertAllStagesStopped[T](block: ⇒ T)(implicit materializer: Materializer): T = { val impl = materializer.asInstanceOf[ActorMaterializerImpl] // refined type, will never fail - val supervisor = impl.supervisor // will fail here instead - val system = impl.system val probe = TestProbe()(impl.system) probe.send(impl.supervisor, StreamSupervisor.StopChildren) probe.expectMsg(StreamSupervisor.StoppedChildren)