Skip to content

Commit

Permalink
Fix deprecated message for JavaSparkContext (minor)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewor14 committed Mar 6, 2014
1 parent 4f69c4a commit 176e68e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ class JavaSparkContext(val sc: SparkContext) extends JavaSparkContextVarargsWork
* Clear the job's list of JARs added by `addJar` so that they do not get downloaded to
* any new nodes.
*/
@deprecated("added jars are now temporary files and need not be deleted manually", "1.0.0")
@deprecated("adding jars no longer creates local copies that need to be deleted", "1.0.0")
def clearJars() {
sc.clearJars()
}
Expand All @@ -424,7 +424,7 @@ class JavaSparkContext(val sc: SparkContext) extends JavaSparkContextVarargsWork
* Clear the job's list of files added by `addFile` so that they do not get downloaded to
* any new nodes.
*/
@deprecated("added files are now temporary files and need not be deleted manually", "1.0.0")
@deprecated("adding files no longer creates local copies that need to be deleted", "1.0.0")
def clearFiles() {
sc.clearFiles()
}
Expand Down

0 comments on commit 176e68e

Please sign in to comment.