Repository: spark Updated Branches: refs/heads/master c5876e529 -> 4a462c282
[HOTFIX] Fix scala style in DFSReadWriteTest that causes tests failed This scala style problem causes tested failed. Author: Liang-Chi Hsieh <vii...@gmail.com> Closes #6907 from viirya/hotfix_style and squashes the following commits: c53f188 [Liang-Chi Hsieh] Fix scala style. Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/4a462c28 Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/4a462c28 Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/4a462c28 Branch: refs/heads/master Commit: 4a462c282c72c47eeecf35b4ab227c1bc71908e5 Parents: c5876e5 Author: Liang-Chi Hsieh <vii...@gmail.com> Authored: Fri Jun 19 11:36:59 2015 -0700 Committer: Andrew Or <and...@databricks.com> Committed: Fri Jun 19 11:36:59 2015 -0700 ---------------------------------------------------------------------- .../main/scala/org/apache/spark/examples/DFSReadWriteTest.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/4a462c28/examples/src/main/scala/org/apache/spark/examples/DFSReadWriteTest.scala ---------------------------------------------------------------------- diff --git a/examples/src/main/scala/org/apache/spark/examples/DFSReadWriteTest.scala b/examples/src/main/scala/org/apache/spark/examples/DFSReadWriteTest.scala index c05890d..1f12034 100644 --- a/examples/src/main/scala/org/apache/spark/examples/DFSReadWriteTest.scala +++ b/examples/src/main/scala/org/apache/spark/examples/DFSReadWriteTest.scala @@ -27,7 +27,7 @@ import org.apache.spark.SparkContext._ /** * Simple test for reading and writing to a distributed * file system. This example does the following: - * + * * 1. Reads local file * 2. Computes word count on local file * 3. Writes local file to a DFS @@ -36,7 +36,7 @@ import org.apache.spark.SparkContext._ * 6. Compares the word count results */ object DFSReadWriteTest { - + private var localFilePath: File = new File(".") private var dfsDirPath: String = "" --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org