Skip to content

Commit 6607155

Browse files
committed
hot fix for PR105 - change to Java annotation
1 parent 9032f7c commit 6607155

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

core/src/main/scala/org/apache/spark/api/java/JavaRDDLike.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,8 +282,9 @@ trait JavaRDDLike[T, This <: JavaRDDLike[T, This]] extends Serializable {
282282

283283
/**
284284
* Return an array that contains all of the elements in this RDD.
285+
* @deprecated As of Spark 1.0.0, toArray() is deprecated, use {@link #collect()} instead
285286
*/
286-
@deprecated("use collect", "1.0.0")
287+
@Deprecated
287288
def toArray(): JList[T] = collect()
288289

289290
/**

0 commit comments

Comments
 (0)