Unwrap single string interpolation syntax
This commit is contained in:
parent
dc216add10
commit
480f516398
94 changed files with 276 additions and 276 deletions
|
|
@ -1377,7 +1377,7 @@ final class Replicator(settings: ReplicatorSettings) extends Actor with ActorLog
|
|||
require(!cluster.isTerminated, "Cluster node must not be terminated")
|
||||
require(
|
||||
roles.subsetOf(cluster.selfRoles),
|
||||
s"This cluster member [${selfAddress}] doesn't have all the roles [${roles.mkString(", ")}]")
|
||||
s"This cluster member [$selfAddress] doesn't have all the roles [${roles.mkString(", ")}]")
|
||||
|
||||
private val payloadSizeAggregator = {
|
||||
val sizeExceeding = settings.logDataSizeExceeding.getOrElse(Int.MaxValue)
|
||||
|
|
|
|||
|
|
@ -95,7 +95,7 @@ trait SerializationSupport {
|
|||
def addressToProto(address: Address): dm.Address.Builder = address match {
|
||||
case Address(_, _, Some(host), Some(port)) =>
|
||||
dm.Address.newBuilder().setHostname(host).setPort(port)
|
||||
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.")
|
||||
}
|
||||
|
||||
def addressFromProto(address: dm.Address): Address =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue