Skip to content

Commit

Permalink
Fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
sryza committed Sep 8, 2014
1 parent 36e0571 commit 9b0ba99
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,7 @@ class JavaPairRDD[K, V](val rdd: RDD[(K, V)])
* This is more efficient than calling `repartition` and then sorting within each partition
* because it can push the sorting down into the shuffle machinery.
*/
def repartitionAndSortWithinPartition(partitioner: Partitioner, comp: Comparator)
def repartitionAndSortWithinPartition(partitioner: Partitioner, comp: Comparator[K])
: JavaPairRDD[K, V] = {
implicit val ordering = comp // Allow implicit conversion of Comparator to Ordering.
fromRDD(
Expand Down

0 comments on commit 9b0ba99

Please sign in to comment.