Github user pwendell commented on a diff in the pull request:

    https://github.com/apache/spark/pull/105#discussion_r10549050
  
    --- Diff: core/src/main/scala/org/apache/spark/api/java/JavaRDDLike.scala 
---
    @@ -284,6 +284,7 @@ trait JavaRDDLike[T, This <: JavaRDDLike[T, This]] 
extends Serializable {
       /**
        * Return an array that contains all of the elements in this RDD.
        */
    +  @deprecated("use collect", "1.0.0")
    --- End diff --
    
    hey sorry to not catch this, but here we should be using the Java 
@Deprecated annotation and not the scala one. @CodingCat mind submitting a fix 
for this? Also there is a javadoc annotation called @deprecated that would be 
good to use inside of the doc text as well.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to