Fix warnings in akka-remote (#26735)

This commit is contained in:
Arnout Engelen 2019-04-16 20:26:09 +02:00 committed by GitHub
parent 8dd6f790bd
commit e390f1397b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
73 changed files with 352 additions and 293 deletions

View file

@ -28,6 +28,7 @@ import akka.remote.artery.SystemMessageDelivery.SystemMessageEnvelope
import akka.remote.serialization.ActorRefResolveThreadLocalCache
import akka.remote.artery.tcp.ArteryTcpTransport
import akka.serialization.Serialization
import com.github.ghik.silencer.silent
/**
* INTERNAL API
@ -603,6 +604,7 @@ private[akka] class RemoteActorRef private[akka] (
// used by artery to direct messages to separate specialized streams
@volatile private[remote] var cachedSendQueueIndex: Int = -1
@silent
def getChild(name: Iterator[String]): InternalActorRef = {
val s = name.toStream
s.headOption match {