Remove use of deprecated Scala features #22581

This commit is contained in:
Björn Antonsson 2017-03-27 18:05:54 +02:00 committed by Johan Andrén
parent 7b9342e324
commit f8b4fb55ca
38 changed files with 224 additions and 108 deletions

View file

@ -242,7 +242,7 @@ private[akka] class ClientFSM(name: RoleName, controllerAddr: InetSocketAddress)
val cmdFuture = TestConductor().transport.managementCommand(SetThrottle(t.target, t.direction, mode))
cmdFuture onSuccess {
cmdFuture foreach {
case true self ! ToServer(Done)
case _ throw new RuntimeException("Throttle was requested from the TestConductor, but no transport " +
"adapters available that support throttling. Specify `testTransport(on = true)` in your MultiNodeConfig")