summaryrefslogtreecommitdiff
path: root/test/files/jvm/sync-var.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/jvm/sync-var.scala')
-rw-r--r--test/files/jvm/sync-var.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/jvm/sync-var.scala b/test/files/jvm/sync-var.scala
index aa6ae9fa34..8a6c2badea 100644
--- a/test/files/jvm/sync-var.scala
+++ b/test/files/jvm/sync-var.scala
@@ -10,7 +10,7 @@ val sum = new AtomicInteger
val q = new scala.concurrent.SyncVar[Int]
-val producers = (1 to 3).force map { z => new Thread {
+val producers = (1 to 3) map { z => new Thread {
override def run() {
var again = true
while (again) {
@@ -23,7 +23,7 @@ val producers = (1 to 3).force map { z => new Thread {
}
} }
-val summers = (1 to 7).force map { z => new Thread {
+val summers = (1 to 7) map { z => new Thread {
override def run() {
val x = j.decrementAndGet()
if (x >= 0) {