Skip to content

Commit

Permalink
Use scala deprecation instead of java.
Browse files Browse the repository at this point in the history
  • Loading branch information
marmbrus committed Apr 19, 2014
1 parent c399baa commit f628b4d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ class JavaSparkContext(val sc: SparkContext) extends JavaSparkContextVarargsWork
* @deprecated As of Spark 1.0.0, defaultMinSplits is deprecated, use
* {@link #defaultMinPartitions()} instead
*/
@Deprecated
@deprecated("use defaultMinPartitions", "1.0.0")
def defaultMinSplits: java.lang.Integer = sc.defaultMinSplits

/** Default min number of partitions for Hadoop RDDs when not given by user */
Expand Down

0 comments on commit f628b4d

Please sign in to comment.