diff options
-rw-r--r-- | test/benchmarks/src/scala/collection/parallel/benchmarks/hashtables/ParallelHashTables.scala | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/benchmarks/src/scala/collection/parallel/benchmarks/hashtables/ParallelHashTables.scala b/test/benchmarks/src/scala/collection/parallel/benchmarks/hashtables/ParallelHashTables.scala index 53e6defd91..94c38b52b1 100644 --- a/test/benchmarks/src/scala/collection/parallel/benchmarks/hashtables/ParallelHashTables.scala +++ b/test/benchmarks/src/scala/collection/parallel/benchmarks/hashtables/ParallelHashTables.scala @@ -39,8 +39,9 @@ trait ParHashTableBenches[K, V] extends StandardParIterableBenches[(K, V), ParHa def runjhashtable = { val jumap = new java.util.HashMap[K, V]() val it = this.seqcoll.iterator + val f = operators.mapper2 while (it.hasNext) { - val p = it.next + val p = f(it.next) jumap.put(p._1, p._2) } result = jumap.size |