Skip to content
This repository was archived by the owner on Feb 23, 2018. It is now read-only.

Commit f22c154

Browse files
author
prokopec
committed
Removed the par method from numeric ranges.
No review. git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@24428 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
1 parent 42396f7 commit f22c154

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/library/scala/collection/immutable/NumericRange.scala

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ import generic._
4242
abstract class NumericRange[T]
4343
(val start: T, val end: T, val step: T, val isInclusive: Boolean)
4444
(implicit num: Integral[T])
45-
extends IndexedSeq[T] with Parallelizable[parallel.immutable.ParNumericRange[T]] with Serializable {
45+
extends IndexedSeq[T] with Serializable {
4646
/** Note that NumericRange must be invariant so that constructs
4747
* such as "1L to 10 by 5" do not infer the range type as AnyVal.
4848
*/
@@ -57,8 +57,6 @@ extends IndexedSeq[T] with Parallelizable[parallel.immutable.ParNumericRange[T]]
5757
if (length == 0) Nil.last
5858
else locationAfterN(length - 1)
5959

60-
def par = new parallel.immutable.ParNumericRange(this)
61-
6260
/** Create a new range with the start and end values of this range and
6361
* a new `step`.
6462
*/

0 commit comments

Comments
 (0)