Skip to content

Commit bd27874

Browse files
committed
fix scala style
1 parent 7339be0 commit bd27874

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

core/src/main/scala/org/apache/spark/api/python/PythonRDD.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ private[spark] class PythonRDD(
5353
extends RDD[Array[Byte]](parent) {
5454

5555
def copyTo(rdd: RDD[_]): PythonRDD = {
56-
new PythonRDD(rdd, command, envVars, pythonIncludes, preservePartitoning, pythonExec, broadcastVars, accumulator)
56+
new PythonRDD(rdd, command, envVars, pythonIncludes, preservePartitoning,
57+
pythonExec, broadcastVars, accumulator)
5758
}
5859

5960
val bufferSize = conf.getInt("spark.buffer.size", 65536)

streaming/src/main/scala/org/apache/spark/streaming/api/python/PythonDStream.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ trait PythonRDDFunction {
4747
* @param cache
4848
*/
4949
class PythonTransformedDStream (parent: DStream[_], parent2: DStream[_], func: PythonRDDFunction,
50-
cache: Boolean = false) //TODO: better name
50+
cache: Boolean = false)
5151
extends DStream[Array[Byte]] (parent.ssc) {
5252

5353
var lastResult: PythonRDD = _

0 commit comments

Comments
 (0)