spark-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pwendell <>
Subject [GitHub] incubator-spark pull request: Deprecated and added a few java api ...
Date Fri, 21 Feb 2014 01:56:12 GMT
Github user pwendell commented on a diff in the pull request:
    --- Diff: core/src/main/scala/org/apache/spark/api/java/JavaRDDLike.scala ---
    @@ -73,7 +74,7 @@ trait JavaRDDLike[T, This <: JavaRDDLike[T, This]] extends Serializable
        * of the original partition.
       def mapPartitionsWithIndex[R: ClassTag](
    -      f: JFunction2[Int, java.util.Iterator[T], java.util.Iterator[R]],
    +      f: JFunction2[Integer, java.util.Iterator[T], java.util.Iterator[R]],
    --- End diff --
    @ScrapCodes I think @rxin is suggesting that you should actually write `java.lang.Integer`
to make it more explicit.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. To do so, please top-post your response.
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 or file a JIRA ticket with INFRA.

View raw message