Skip to content

Commit

Permalink
fix scala style
Browse files Browse the repository at this point in the history
  • Loading branch information
davies committed Sep 26, 2014
1 parent 7339be0 commit bd27874
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ private[spark] class PythonRDD(
extends RDD[Array[Byte]](parent) {

def copyTo(rdd: RDD[_]): PythonRDD = {
new PythonRDD(rdd, command, envVars, pythonIncludes, preservePartitoning, pythonExec, broadcastVars, accumulator)
new PythonRDD(rdd, command, envVars, pythonIncludes, preservePartitoning,
pythonExec, broadcastVars, accumulator)
}

val bufferSize = conf.getInt("spark.buffer.size", 65536)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ trait PythonRDDFunction {
* @param cache
*/
class PythonTransformedDStream (parent: DStream[_], parent2: DStream[_], func: PythonRDDFunction,
cache: Boolean = false) //TODO: better name
cache: Boolean = false)
extends DStream[Array[Byte]] (parent.ssc) {

var lastResult: PythonRDD = _
Expand Down

0 comments on commit bd27874

Please sign in to comment.