Minor corrections according to Viktor's review.

This commit is contained in:
Eugene Vigdorchik 2011-12-21 19:06:51 +04:00
parent 80858620b2
commit 4b31ac1c03
2 changed files with 4 additions and 4 deletions

View file

@ -6,9 +6,9 @@ trait AbstractRemoteActorMultiJvmSpec {
def NrOfNodes: Int
def commonConfig: Config
def remotes: List[String] = {
val listOpt = Option(System.getProperty("test.hosts")).map(_.split(",").toList)
listOpt getOrElse List.fill(NrOfNodes)("localhost")
def remotes: Array[String] = {
val arrayOpt = Option(System.getProperty("test.hosts")).map(_ split ",")
arrayOpt getOrElse Array.fill(NrOfNodes)("localhost")
}
def specString(count: Int): String = {