Merge pull request #16763 from akka/wip-cleanup-actor-∂π

fix all non-deprecation warnings
This commit is contained in:
Roland Kuhn 2015-02-06 20:54:12 +01:00
commit 5e1fd1db6c
42 changed files with 254 additions and 317 deletions

View file

@ -163,7 +163,7 @@ private[cluster] final class ClusterDaemon(settings: ClusterSettings) extends Ac
withDispatcher(context.props.dispatcher), name = "heartbeatReceiver")
def receive = {
case msg @ GetClusterCoreRef coreSupervisor forward msg
case msg: GetClusterCoreRef.type coreSupervisor forward msg
case AddOnMemberUpListener(code)
context.actorOf(Props(classOf[OnMemberUpListener], code).withDeploy(Deploy.local))
case PublisherCreated(publisher)
@ -653,10 +653,11 @@ private[cluster] class ClusterCoreDaemon(publisher: ActorRef) extends Actor with
if (statsEnabled) {
gossipStats = gossipType match {
case Merge gossipStats.incrementMergeCount
case Same gossipStats.incrementSameCount
case Newer gossipStats.incrementNewerCount
case Older gossipStats.incrementOlderCount
case Merge gossipStats.incrementMergeCount
case Same gossipStats.incrementSameCount
case Newer gossipStats.incrementNewerCount
case Older gossipStats.incrementOlderCount
case Ignored gossipStats // included in receivedGossipCount
}
}