@@ -122,10 +122,10 @@ class PairRDDFunctions[K, V](self: RDD[(K, V)])
122122 * Aggregate the values of each key, using given combine functions and a neutral "zero value".
123123 * This function can return a different result type, U, than the type of the values in this RDD,
124124 * V. Thus, we need one operation for merging a V into a U and one operation for merging two U's,
125- * as in scala.TraversableOnce. The former operation is used for merging values within a partition,
126- * and the latter is used for merging values between partitions. To avoid memory allocation, both
127- * of these functions are allowed to modify and return their first argument instead of creating a
128- * new U.
125+ * as in scala.TraversableOnce. The former operation is used for merging values within a
126+ * partition, and the latter is used for merging values between partitions. To avoid memory
127+ * allocation, both of these functions are allowed to modify and return their first argument
128+ * instead of creating a new U.
129129 */
130130 def aggregateByKey [U : ClassTag ](zeroValue : U , partitioner : Partitioner )(seqOp : (U , V ) => U ,
131131 combOp : (U , U ) => U ): RDD [(K , U )] = {
@@ -144,10 +144,10 @@ class PairRDDFunctions[K, V](self: RDD[(K, V)])
144144 * Aggregate the values of each key, using given combine functions and a neutral "zero value".
145145 * This function can return a different result type, U, than the type of the values in this RDD,
146146 * V. Thus, we need one operation for merging a V into a U and one operation for merging two U's,
147- * as in scala.TraversableOnce. The former operation is used for merging values within a partition,
148- * and the latter is used for merging values between partitions. To avoid memory allocation, both
149- * of these functions are allowed to modify and return their first argument instead of creating a
150- * new U.
147+ * as in scala.TraversableOnce. The former operation is used for merging values within a
148+ * partition, and the latter is used for merging values between partitions. To avoid memory
149+ * allocation, both of these functions are allowed to modify and return their first argument
150+ * instead of creating a new U.
151151 */
152152 def aggregateByKey [U : ClassTag ](zeroValue : U , numPartitions : Int )(seqOp : (U , V ) => U ,
153153 combOp : (U , U ) => U ): RDD [(K , U )] = {
@@ -158,10 +158,10 @@ class PairRDDFunctions[K, V](self: RDD[(K, V)])
158158 * Aggregate the values of each key, using given combine functions and a neutral "zero value".
159159 * This function can return a different result type, U, than the type of the values in this RDD,
160160 * V. Thus, we need one operation for merging a V into a U and one operation for merging two U's,
161- * as in scala.TraversableOnce. The former operation is used for merging values within a partition,
162- * and the latter is used for merging values between partitions. To avoid memory allocation, both
163- * of these functions are allowed to modify and return their first argument instead of creating a
164- * new U.
161+ * as in scala.TraversableOnce. The former operation is used for merging values within a
162+ * partition, and the latter is used for merging values between partitions. To avoid memory
163+ * allocation, both of these functions are allowed to modify and return their first argument
164+ * instead of creating a new U.
165165 */
166166 def aggregateByKey [U : ClassTag ](zeroValue : U )(seqOp : (U , V ) => U ,
167167 combOp : (U , U ) => U ): RDD [(K , U )] = {
0 commit comments