Skip to content

Commit 67c33b5

Browse files
committed
minor change
1 parent 403f9b1 commit 67c33b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/scala/org/apache/spark/rdd/ParallelCollectionRDD.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ private object ParallelCollectionRDD {
119119
}
120120
// Sequences need to be sliced at same positions for operations
121121
// like RDD.zip() to behave as expected
122-
def positions(length: Long, numSlices: Int): Seq[(Int, Int)] = {
122+
def positions(length: Long, numSlices: Int) = {
123123
(0 until numSlices).map(i => {
124124
val start = ((i * length) / numSlices).toInt
125125
val end = (((i + 1) * length) / numSlices).toInt

0 commit comments

Comments
 (0)