Skip to content

Commit

Permalink
fix scala style
Browse files Browse the repository at this point in the history
  • Loading branch information
davies committed Oct 5, 2014
1 parent 091b107 commit 1c2d928
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,8 @@ private[spark] object PythonRDD extends Logging {
}
}

def readBroadcastFromFile(sc: JavaSparkContext, filename: String): Broadcast[Array[Array[Byte]]] = {
def readBroadcastFromFile(sc: JavaSparkContext,
filename: String): Broadcast[Array[Array[Byte]]] = {
val size = new File(filename).length()
val file = new DataInputStream(new FileInputStream(filename))
val blockSize = 1 << 20
Expand Down

0 comments on commit 1c2d928

Please sign in to comment.