Unwrap single string interpolation syntax
This commit is contained in:
parent
dc216add10
commit
480f516398
94 changed files with 276 additions and 276 deletions
|
|
@ -583,7 +583,7 @@ class DistributedPubSubMediator(settings: DistributedPubSubSettings)
|
|||
|
||||
require(
|
||||
role.forall(cluster.selfRoles.contains),
|
||||
s"This cluster member [${selfAddress}] doesn't have the role [$role]")
|
||||
s"This cluster member [$selfAddress] doesn't have the role [$role]")
|
||||
|
||||
val removedTimeToLiveMillis = removedTimeToLive.toMillis
|
||||
|
||||
|
|
|
|||
|
|
@ -116,7 +116,7 @@ private[pekko] class DistributedPubSubMessageSerializer(val system: ExtendedActo
|
|||
private def addressToProto(address: Address): dm.Address.Builder = address match {
|
||||
case Address(protocol, system, Some(host), Some(port)) =>
|
||||
dm.Address.newBuilder().setSystem(system).setHostname(host).setPort(port).setProtocol(protocol)
|
||||
case _ => throw new IllegalArgumentException(s"Address [${address}] could not be serialized: host or port missing.")
|
||||
case _ => throw new IllegalArgumentException(s"Address [$address] could not be serialized: host or port missing.")
|
||||
}
|
||||
|
||||
private def addressFromProto(address: dm.Address): Address =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue