Skip to content

Commit

Permalink
update scala style
Browse files Browse the repository at this point in the history
  • Loading branch information
lianhuiwang committed Apr 30, 2015
1 parent e7bd971 commit 9d87c3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion project/SparkBuild.scala
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ object PySparkAssembly {

val zipFile = new File(BuildCommons.sparkHome , "python/lib/pyspark.zip")
zipFile.delete()
def entries(f: File):List[File] =
def entries(f: File): List[File] =
f :: (if (f.isDirectory) IO.listFiles(f).toList.flatMap(entries(_)) else Nil)
val sources = entries(src).map { d =>
(d, d.getAbsolutePath.substring(src.getParent.length +1))
Expand Down

0 comments on commit 9d87c3f

Please sign in to comment.