Removing compilation warnings.

This commit is contained in:
Viktor Klang 2012-09-19 17:32:54 +02:00
parent 888f81df8d
commit d0c71d563e
6 changed files with 15 additions and 14 deletions

View file

@ -60,8 +60,7 @@ class MyMailboxType(systemSettings: ActorSystem.Settings, config: Config)
override def create(owner: Option[ActorRef], system: Option[ActorSystem]): MessageQueue = (owner zip system) headOption match {
case Some((o, s: ExtendedActorSystem)) new MyMessageQueue(o, s)
case None throw new IllegalArgumentException(
"requires an owner (i.e. does not work with BalancingDispatcher)")
case _ throw new IllegalArgumentException("requires an owner (i.e. does not work with BalancingDispatcher)")
}
}