Skip to content

Commit fc30314

Browse files
committed
Update the comments
1 parent 9c27aff commit fc30314

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

core/src/main/scala/org/apache/spark/SparkContext.scala

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1464,34 +1464,34 @@ object SparkContext extends Logging {
14641464
// make the compiler find them automatically. They are still kept here for backward compatibility
14651465
// and just call the corresponding functions in `object RDD`.
14661466

1467-
@deprecated("Replaced by implicit functions in org.apache.spark.rdd package object. This is " +
1467+
@deprecated("Replaced by implicit functions in the RDD companion object. This is " +
14681468
"kept here only for backward compatibility.", "1.2.0")
14691469
def rddToPairRDDFunctions[K, V](rdd: RDD[(K, V)])
14701470
(implicit kt: ClassTag[K], vt: ClassTag[V], ord: Ordering[K] = null) = {
14711471
RDD.rddToPairRDDFunctions(rdd)
14721472
}
14731473

1474-
@deprecated("Replaced by implicit functions in org.apache.spark.rdd package object. This is " +
1474+
@deprecated("Replaced by implicit functions in the RDD companion object. This is " +
14751475
"kept here only for backward compatibility.", "1.2.0")
14761476
def rddToAsyncRDDActions[T: ClassTag](rdd: RDD[T]) = RDD.rddToAsyncRDDActions(rdd)
14771477

1478-
@deprecated("Replaced by implicit functions in org.apache.spark.rdd package object. This is " +
1478+
@deprecated("Replaced by implicit functions in the RDD companion object. This is " +
14791479
"kept here only for backward compatibility.", "1.2.0")
14801480
def rddToSequenceFileRDDFunctions[K <% Writable: ClassTag, V <% Writable: ClassTag](
14811481
rdd: RDD[(K, V)]) =
14821482
RDD.rddToSequenceFileRDDFunctions(rdd)
14831483

1484-
@deprecated("Replaced by implicit functions in org.apache.spark.rdd package object. This is " +
1484+
@deprecated("Replaced by implicit functions in the RDD companion object. This is " +
14851485
"kept here only for backward compatibility.", "1.2.0")
14861486
def rddToOrderedRDDFunctions[K : Ordering : ClassTag, V: ClassTag](
14871487
rdd: RDD[(K, V)]) =
14881488
RDD.rddToOrderedRDDFunctions(rdd)
14891489

1490-
@deprecated("Replaced by implicit functions in org.apache.spark.rdd package object. This is " +
1490+
@deprecated("Replaced by implicit functions in the RDD companion object. This is " +
14911491
"kept here only for backward compatibility.", "1.2.0")
14921492
def doubleRDDToDoubleRDDFunctions(rdd: RDD[Double]) = RDD.doubleRDDToDoubleRDDFunctions(rdd)
14931493

1494-
@deprecated("Replaced by implicit functions in org.apache.spark.rdd package object. This is " +
1494+
@deprecated("Replaced by implicit functions in the RDD companion object. This is " +
14951495
"kept here only for backward compatibility.", "1.2.0")
14961496
def numericRDDToDoubleRDDFunctions[T](rdd: RDD[T])(implicit num: Numeric[T]) =
14971497
RDD.numericRDDToDoubleRDDFunctions(rdd)

0 commit comments

Comments
 (0)