Skip to content

Commit 9b0ba99

Browse files
committed
Fix compilation
1 parent 36e0571 commit 9b0ba99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/scala/org/apache/spark/api/java/JavaPairRDD.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -777,7 +777,7 @@ class JavaPairRDD[K, V](val rdd: RDD[(K, V)])
777777
* This is more efficient than calling `repartition` and then sorting within each partition
778778
* because it can push the sorting down into the shuffle machinery.
779779
*/
780-
def repartitionAndSortWithinPartition(partitioner: Partitioner, comp: Comparator)
780+
def repartitionAndSortWithinPartition(partitioner: Partitioner, comp: Comparator[K])
781781
: JavaPairRDD[K, V] = {
782782
implicit val ordering = comp // Allow implicit conversion of Comparator to Ordering.
783783
fromRDD(

0 commit comments

Comments
 (0)