You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by rx...@apache.org on 2014/12/02 23:41:14 UTC

spark git commit: Minor nit style cleanup in GraphX.

Repository: spark
Updated Branches:
  refs/heads/master 3ae0cda83 -> 2d4f6e70f


Minor nit style cleanup in GraphX.


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

Branch: refs/heads/master
Commit: 2d4f6e70f7de50489c2b5f0d6a4756c3b1aace7d
Parents: 3ae0cda
Author: Reynold Xin <rx...@databricks.com>
Authored: Tue Dec 2 14:40:26 2014 -0800
Committer: Reynold Xin <rx...@databricks.com>
Committed: Tue Dec 2 14:41:05 2014 -0800

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


http://git-wip-us.apache.org/repos/asf/spark/blob/2d4f6e70/graphx/src/main/scala/org/apache/spark/graphx/VertexRDD.scala
----------------------------------------------------------------------
diff --git a/graphx/src/main/scala/org/apache/spark/graphx/VertexRDD.scala b/graphx/src/main/scala/org/apache/spark/graphx/VertexRDD.scala
index 1db3df0..09ae3f9 100644
--- a/graphx/src/main/scala/org/apache/spark/graphx/VertexRDD.scala
+++ b/graphx/src/main/scala/org/apache/spark/graphx/VertexRDD.scala
@@ -68,7 +68,7 @@ abstract class VertexRDD[VD](
    * Provides the `RDD[(VertexId, VD)]` equivalent output.
    */
   override def compute(part: Partition, context: TaskContext): Iterator[(VertexId, VD)] = {
-    firstParent[ShippableVertexPartition[VD]].iterator(part, context).next.iterator
+    firstParent[ShippableVertexPartition[VD]].iterator(part, context).next().iterator
   }
 
   /**


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org