remove all use of Class.getSimpleName; fixes #1288

cherry-picked from release-1.3
This commit is contained in:
Roland 2011-10-16 16:52:12 +02:00
parent 076ec4d0a0
commit 676a712ceb
4 changed files with 12 additions and 4 deletions

View file

@ -4,7 +4,7 @@
package akka.remote.netty
import akka.actor.{ ActorRef, Uuid, newUuid, uuidFrom, IllegalActorStateException, PoisonPill, AutoReceivedMessage }
import akka.actor.{ ActorRef, Uuid, newUuid, uuidFrom, IllegalActorStateException, PoisonPill, AutoReceivedMessage, simpleName }
import akka.remote._
import RemoteProtocol._
import akka.util._
@ -143,7 +143,7 @@ abstract class RemoteClient private[akka] (
val module: NettyRemoteClientModule,
val remoteAddress: InetSocketAddress) {
val name = this.getClass.getSimpleName + "@" +
val name = simpleName(this) + "@" +
remoteAddress.getAddress.getHostAddress + "::" +
remoteAddress.getPort