Merge pull request #15187 from akka/wip-15186-interpolators-∂π

=act #15186 add missing string interpolators
This commit is contained in:
Roland Kuhn 2014-05-15 14:07:13 +02:00
commit 70b0fc5ab5
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