diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2017-02-03 17:32:15 -0700 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2017-02-03 17:32:15 -0700 |
commit | 43e9c9053538230a2af41657c7108232d9be0216 (patch) | |
tree | 461bde78fabac5cf0fbf3be0e5ab5a02b59336f2 /test | |
parent | 44f2f0db98487fcc5c515a18b7aeee53e0bb9d52 (diff) | |
download | scala-43e9c9053538230a2af41657c7108232d9be0216.tar.gz scala-43e9c9053538230a2af41657c7108232d9be0216.tar.bz2 scala-43e9c9053538230a2af41657c7108232d9be0216.zip |
Fix copy/pasto references to mutable package in benchmark
Diffstat (limited to 'test')
-rw-r--r-- | test/benchmarks/src/main/scala/scala/collection/immutable/HashMapBenchmark.scala | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/benchmarks/src/main/scala/scala/collection/immutable/HashMapBenchmark.scala b/test/benchmarks/src/main/scala/scala/collection/immutable/HashMapBenchmark.scala index 8b78ae1875..134cd6879b 100644 --- a/test/benchmarks/src/main/scala/scala/collection/immutable/HashMapBenchmark.scala +++ b/test/benchmarks/src/main/scala/scala/collection/immutable/HashMapBenchmark.scala @@ -6,8 +6,6 @@ import org.openjdk.jmh.runner.IterationType import benchmark._ import java.util.concurrent.TimeUnit -import scala.collection.mutable - @BenchmarkMode(Array(Mode.AverageTime)) @Fork(2) @Threads(1) @@ -34,7 +32,7 @@ class HashMapBenchmark { var map: collection.immutable.HashMap[Any, Any] = null - @Setup(Level.Trial) def initializeMutable = { + @Setup(Level.Trial) def initialize = { map = collection.immutable.HashMap(existingKeys.map(x => (x, x)) : _*) } |