We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c0b3e58 + 29a9c64 commit b575c1eCopy full SHA for b575c1e
src/library/scala/collection/parallel/package.scala
@@ -41,9 +41,7 @@ package object parallel {
41
42
private[parallel] def outofbounds(idx: Int) = throw new IndexOutOfBoundsException(idx.toString)
43
44
- private[parallel] def getTaskSupport: TaskSupport =
45
- if (scala.util.Properties.isJavaAtLeast("1.6")) new ForkJoinTaskSupport
46
- else new ThreadPoolTaskSupport
+ private[parallel] def getTaskSupport: TaskSupport = new ForkJoinTaskSupport
47
48
val defaultTaskSupport: TaskSupport = getTaskSupport
49
0 commit comments