Skip to content

Commit ab33e27

Browse files
committed
constructorOfA -> constructA in doc comments
1 parent 9784fc1 commit ab33e27

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

core/src/main/scala/spark/RDD.scala

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ abstract class RDD[T: ClassManifest](
366366

367367
/**
368368
* Maps f over this RDD, where f takes an additional parameter of type A. This
369-
* additional parameter is produced by constructorOfA, which is called in each
369+
* additional parameter is produced by constructA, which is called in each
370370
* partition with the index of that partition.
371371
*/
372372
def mapWith[A: ClassManifest, U: ClassManifest](constructA: Int => A, preservesPartitioning: Boolean = false)
@@ -380,7 +380,7 @@ abstract class RDD[T: ClassManifest](
380380

381381
/**
382382
* FlatMaps f over this RDD, where f takes an additional parameter of type A. This
383-
* additional parameter is produced by constructorOfA, which is called in each
383+
* additional parameter is produced by constructA, which is called in each
384384
* partition with the index of that partition.
385385
*/
386386
def flatMapWith[A: ClassManifest, U: ClassManifest](constructA: Int => A, preservesPartitioning: Boolean = false)
@@ -394,7 +394,7 @@ abstract class RDD[T: ClassManifest](
394394

395395
/**
396396
* Applies f to each element of this RDD, where f takes an additional parameter of type A.
397-
* This additional parameter is produced by constructorOfA, which is called in each
397+
* This additional parameter is produced by constructA, which is called in each
398398
* partition with the index of that partition.
399399
*/
400400
def foreachWith[A: ClassManifest](constructA: Int => A)
@@ -408,7 +408,7 @@ abstract class RDD[T: ClassManifest](
408408

409409
/**
410410
* Filters this RDD with p, where p takes an additional parameter of type A. This
411-
* additional parameter is produced by constructorOfA, which is called in each
411+
* additional parameter is produced by constructA, which is called in each
412412
* partition with the index of that partition.
413413
*/
414414
def filterWith[A: ClassManifest](constructA: Int => A)

0 commit comments

Comments
 (0)