@@ -19,8 +19,6 @@ package org.apache.spark.repl
1919
2020import java .io .BufferedReader
2121
22- import scala .concurrent .Await
23-
2422// scalastyle:off println
2523import scala .Predef .{println => _ , _ }
2624// scalastyle:on println
@@ -132,10 +130,10 @@ class SparkILoop(in0: Option[BufferedReader], out: JPrintWriter)
132130 * In newer version of Scala, `printWelcome` is the first thing to be called. As a result,
133131 * SparkUI URL information would be always shown after the welcome message.
134132 *
135- * However, this is inconsistent to the existing version of Spark which will always
133+ * However, this is inconsistent compared with the existing version of Spark which will always
136134 * show SparkUI URL first.
137135 *
138- * The only way we can make it consistent will be duplicate the Scala code.
136+ * The only way we can make it consistent will be duplicating the Scala code.
139137 *
140138 * We should remove this duplication once Scala provides a way to load our custom initialization
141139 * code, and also customize the ordering of printing welcome message.
@@ -221,7 +219,6 @@ class SparkILoop(in0: Option[BufferedReader], out: JPrintWriter)
221219 field.setAccessible(true )
222220 field.set(this , Future successful true )
223221
224- // val globalFuture: Future[Boolean] =
225222 if (intp.reporter.hasErrors) {
226223 echo(" Interpreter encountered errors during initialization!" )
227224 null
0 commit comments