=act #15186 add missing string interpolators

Thanks @retronym for finding these in the logs!

fixes #15186
This commit is contained in:
Roland Kuhn 2014-05-14 08:04:08 +02:00
parent 417f3619a1
commit 2e52f90dab
2 changed files with 2 additions and 2 deletions

View file

@ -135,7 +135,7 @@ private[akka] class Mailboxes(
// TODO remove in 2.3
if (!hasMailboxType && !mailboxSizeWarningIssued && dispatcherConfig.hasPath("mailbox-size")) {
eventStream.publish(Warning("mailboxes", getClass,
"ignoring setting 'mailbox-size' for dispatcher [$id], you need to specify 'mailbox-type=bounded'"))
s"ignoring setting 'mailbox-size' for dispatcher [$id], you need to specify 'mailbox-type=bounded'"))
mailboxSizeWarningIssued = true
}

View file

@ -125,7 +125,7 @@ private[akka] object Reflect {
case c: Class[_] if marker isAssignableFrom c c
case t: ParameterizedType if marker isAssignableFrom t.getRawType.asInstanceOf[Class[_]] t
} match {
case None throw new IllegalArgumentException("cannot find [$marker] in ancestors of [$root]")
case None throw new IllegalArgumentException(s"cannot find [$marker] in ancestors of [$root]")
case Some(c: Class[_]) if (c == marker) c else rec(c)
case Some(t: ParameterizedType) if (t.getRawType == marker) t else rec(t.getRawType.asInstanceOf[Class[_]])
case _ ??? // cannot happen due to collectFirst