Well I think there was a context to that comment, Earlier right above that
we were importing java.lang.Integer and then using it. He asked me to
remove and make it java.lang.Integer, but later I discovered import was not
necessary. But if you think having that specified explicitly is good, it
can be done in a moment ?


On Fri, Feb 21, 2014 at 7:26 AM, Patrick Wendell
<notifications@github.com>wrote:

> In 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]],
>
> @ScrapCodes <https://github.com/ScrapCodes> I think @rxin<https://github.com/rxin>is suggesting that you should actually write
> java.lang.Integer to make it more explicit.
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/apache/incubator-spark/pull/402/files#r9934007>
> .
>



-- 
Prashant