Remove procedure syntax (#25362)

This commit is contained in:
kenji yoshida 2018-07-25 20:38:27 +09:00 committed by Johan Andrén
parent 50979d599c
commit 5b3b191bac
180 changed files with 403 additions and 403 deletions

View file

@ -89,7 +89,7 @@ class PersistencePluginProxySpec extends AkkaSpec(PersistencePluginProxySpec.sta
val systemA = ActorSystem("SysA", config)
val systemB = ActorSystem("SysB", targetAddressConfig(system) withFallback PersistencePluginProxySpec.config)
override protected def afterTermination() {
override protected def afterTermination(): Unit = {
shutdown(systemA)
shutdown(systemB)
super.afterTermination()

View file

@ -71,7 +71,7 @@ class SharedLeveldbJournalSpec extends AkkaSpec(SharedLeveldbJournalSpec.config)
val systemA = ActorSystem("SysA", system.settings.config)
val systemB = ActorSystem("SysB", system.settings.config)
override protected def afterTermination() {
override protected def afterTermination(): Unit = {
shutdown(systemA)
shutdown(systemB)
super.afterTermination()

View file

@ -326,11 +326,11 @@ class MessageSerializerRemotingSpec extends AkkaSpec(remote.withFallback(customS
val serialization = SerializationExtension(system)
override protected def atStartup() {
override protected def atStartup(): Unit = {
remoteSystem.actorOf(Props[RemoteActor], "remote")
}
override def afterTermination() {
override def afterTermination(): Unit = {
Await.ready(remoteSystem.terminate(), Duration.Inf)
}