File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
examples/src/main/scala/org/apache/spark/examples Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ object HdfsTest {
3939 val start = System .currentTimeMillis()
4040 for (x <- mapped) { x + 2 }
4141 val end = System .currentTimeMillis()
42- println(s " Iteration ${ iter} took ${( end- start) } ms " )
42+ println(s " Iteration $iter took ${end- start} ms " )
4343 }
4444 spark.stop()
4545 }
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ object SparkALS {
8080
8181 def showWarning () {
8282 System .err.println(
83- s """ WARN: This is a naive implementation of ALS and is given as an example!
83+ """ WARN: This is a naive implementation of ALS and is given as an example!
8484 |Please use org.apache.spark.ml.recommendation.ALS
8585 |for more conventional use.
8686 """ .stripMargin)
@@ -100,7 +100,7 @@ object SparkALS {
100100 ITERATIONS = iters.getOrElse(" 5" ).toInt
101101 slices = slices_.getOrElse(" 2" ).toInt
102102 case _ =>
103- System .err.println(s " Usage: SparkALS [M] [U] [F] [iters] [partitions] " )
103+ System .err.println(" Usage: SparkALS [M] [U] [F] [iters] [partitions]" )
104104 System .exit(1 )
105105 }
106106
You can’t perform that action at this time.
0 commit comments