Skip to content
This repository was archived by the owner on Sep 8, 2022. It is now read-only.

Commit de335e0

Browse files
committed
Avoid deprecation
1 parent 6a482dd commit de335e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/scala/scala/tools/partest/package.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ package object partest {
177177
)
178178

179179
def allPropertiesString = {
180-
import scala.collection.JavaConversions._
181-
System.getProperties.toList.sorted map { case (k, v) => "%s -> %s\n".format(k, v) } mkString ""
180+
import scala.collection.JavaConverters._
181+
System.getProperties.asScala.toList.sorted map { case (k, v) => "%s -> %s\n".format(k, v) } mkString ""
182182
}
183183
}

0 commit comments

Comments
 (0)