Skip to content

Commit 1ac18ba

Browse files
smarterbishabosha
authored andcommitted
Cross-compile bench with the 2.13 stdlib
1 parent 5053e03 commit 1ac18ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bench/src/main/scala/Benchmarks.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import org.openjdk.jmh.results.format._
1313
import java.util.concurrent.TimeUnit
1414

1515
import java.io.{File, FileOutputStream, BufferedWriter, FileWriter}
16-
import scala.collection.JavaConversions._
16+
import scala.collection.JavaConverters._
1717
import scala.io.Source
1818

1919
object Bench {
@@ -86,7 +86,7 @@ class CompilerOptions {
8686

8787
@Setup
8888
def prepare: Unit = {
89-
opts = Bench.readCompileOptions.to[Array]
89+
opts = Bench.readCompileOptions.toArray
9090
}
9191
}
9292

0 commit comments

Comments
 (0)