Skip to content

Commit 45a95f8

Browse files
dorxrxin
authored andcommitted
Remove unicode operator from RDD.scala
Some IDEs don’t support unicode characters in source code. Check if this breaks binary compatibility. Author: Doris Xin <[email protected]> Closes apache#1119 from dorx/unicode and squashes the following commits: 05618c3 [Doris Xin] Remove unicode operator from RDD.scala
1 parent 4cbeea8 commit 45a95f8

File tree

1 file changed

+1
-1
lines changed
  • core/src/main/scala/org/apache/spark/rdd

1 file changed

+1
-1
lines changed

core/src/main/scala/org/apache/spark/rdd/RDD.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ abstract class RDD[T: ClassTag](
446446
* Return this RDD sorted by the given key function.
447447
*/
448448
def sortBy[K](
449-
f: (T) K,
449+
f: (T) => K,
450450
ascending: Boolean = true,
451451
numPartitions: Int = this.partitions.size)
452452
(implicit ord: Ordering[K], ctag: ClassTag[K]): RDD[T] =

0 commit comments

Comments
 (0)