make unbalanced Address() constructor private, fix parsing, see #1806

This commit is contained in:
Roland 2012-02-13 17:46:14 +01:00
parent 9b9378c2f8
commit 669a4ff9ca
7 changed files with 27 additions and 24 deletions

View file

@ -28,7 +28,7 @@ class RemoteDeploymentDocSpec extends AkkaSpec("""
import RemoteDeploymentDocSpec._
val other = ActorSystem("remote", system.settings.config)
val address = other.asInstanceOf[ExtendedActorSystem].provider.getExternalAddressFor(Address("akka", "s", Some("host"), Some(1))).get
val address = other.asInstanceOf[ExtendedActorSystem].provider.getExternalAddressFor(Address("akka", "s", "host", 1)).get
override def atTermination() { other.shutdown() }