spark-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pwend...@apache.org
Subject [3/5] git commit: Use method, not variable
Date Sun, 19 Jan 2014 00:24:02 GMT
Use method, not variable


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

Branch: refs/heads/master
Commit: edd82c58a22924c91f11ebadf00bdca3cff16c79
Parents: 1a0da89
Author: Mridul Muralidharan <mridul@gmail.com>
Authored: Thu Jan 16 17:26:42 2014 +0530
Committer: Mridul Muralidharan <mridul@gmail.com>
Committed: Thu Jan 16 17:26:42 2014 +0530

----------------------------------------------------------------------
 .../main/scala/org/apache/spark/api/java/JavaSparkContext.scala    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-spark/blob/edd82c58/core/src/main/scala/org/apache/spark/api/java/JavaSparkContext.scala
----------------------------------------------------------------------
diff --git a/core/src/main/scala/org/apache/spark/api/java/JavaSparkContext.scala b/core/src/main/scala/org/apache/spark/api/java/JavaSparkContext.scala
index 5bd5bfd..c877870 100644
--- a/core/src/main/scala/org/apache/spark/api/java/JavaSparkContext.scala
+++ b/core/src/main/scala/org/apache/spark/api/java/JavaSparkContext.scala
@@ -401,7 +401,7 @@ class JavaSparkContext(val sc: SparkContext) extends JavaSparkContextVarargsWork
     sc.setCheckpointDir(dir)
   }
 
-  def getCheckpointDir = sc.checkpointDir.getOrElse(null)
+  def getCheckpointDir = sc.getCheckpointDir.getOrElse(null)
 
   protected def checkpointFile[T](path: String): JavaRDD[T] = {
     implicit val cm: ClassTag[T] =


Mime
View raw message