Thanks. Can we change this to indent 4 characters? 

    def mapPartitionsWithIndex[R: ClassManifest](
        f: JFunction2[Int, java.util.Iterator[T], java.util.Iterator[R]],
        preservesPartitioning: Boolean = false): JavaRDD[R] =