Repository: spark
Updated Branches:
  refs/heads/master 4cbeea83e -> 45a95f82c


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 #1119 from dorx/unicode and squashes the following commits:

05618c3 [Doris Xin] Remove unicode operator from RDD.scala


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/45a95f82
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/45a95f82
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/45a95f82

Branch: refs/heads/master
Commit: 45a95f82caea55a8616141444285faf58fef128b
Parents: 4cbeea8
Author: Doris Xin <[email protected]>
Authored: Wed Jun 18 15:01:29 2014 -0700
Committer: Reynold Xin <[email protected]>
Committed: Wed Jun 18 15:01:29 2014 -0700

----------------------------------------------------------------------
 core/src/main/scala/org/apache/spark/rdd/RDD.scala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/45a95f82/core/src/main/scala/org/apache/spark/rdd/RDD.scala
----------------------------------------------------------------------
diff --git a/core/src/main/scala/org/apache/spark/rdd/RDD.scala 
b/core/src/main/scala/org/apache/spark/rdd/RDD.scala
index 1633b18..cebfd10 100644
--- a/core/src/main/scala/org/apache/spark/rdd/RDD.scala
+++ b/core/src/main/scala/org/apache/spark/rdd/RDD.scala
@@ -446,7 +446,7 @@ abstract class RDD[T: ClassTag](
    * Return this RDD sorted by the given key function.
    */
   def sortBy[K](
-      f: (T) ⇒ K,
+      f: (T) => K,
       ascending: Boolean = true,
       numPartitions: Int = this.partitions.size)
       (implicit ord: Ordering[K], ctag: ClassTag[K]): RDD[T] =

Reply via email to