Remove procedure syntax (#25362)
This commit is contained in:
parent
50979d599c
commit
5b3b191bac
180 changed files with 403 additions and 403 deletions
|
|
@ -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()
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue