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

    https://github.com/apache/spark/pull/9488#discussion_r44169218
  
    --- Diff: 
streaming/src/main/scala/org/apache/spark/streaming/api/java/JavaDStreamLike.scala
 ---
    @@ -308,7 +308,10 @@ trait JavaDStreamLike[T, This <: JavaDStreamLike[T, 
This, R], R <: JavaRDDLike[T
       /**
        * Apply a function to each RDD in this DStream. This is an output 
operator, so
        * 'this' DStream will be registered as an output stream and therefore 
materialized.
    +   *
    +   * @deprecated  As of release 2.0.0, replaced by 
foreachRDD(JVoidFunction)
        */
    +  @deprecated("Use foreachRDD(foreachFunc: JVoidFunction[R])", "2.0.0")
    --- End diff --
    
    nit: the doc of `since` is `a string identifying the first version in which 
the definition was deprecated`. It's supposed to be `1.6.0`.


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to