Skip to content

Commit 0ca320d

Browse files
author
lirui
committed
SPARK-2636: fix method name & javadoc
1 parent 3fa39f7 commit 0ca320d

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

core/src/main/scala/org/apache/spark/FutureAction.scala

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -150,12 +150,8 @@ class SimpleFutureAction[T] private[spark](jobWaiter: JobWaiter[_], resultFunc:
150150
}
151151
}
152152

153-
/**
154-
* Get the corresponding job Id for this action
155-
*/
156-
def id: Int = {
157-
jobWaiter.jobId
158-
}
153+
/** Get the corresponding job id for this action. */
154+
def jobId = jobWaiter.jobId
159155
}
160156

161157

0 commit comments

Comments
 (0)