Skip to content

Commit f0a76a3

Browse files
committed
Remove message
1 parent b1e28e8 commit f0a76a3

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

repl/scala-2.11/src/main/scala/org/apache/spark/repl/SparkILoop.scala

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ package org.apache.spark.repl
1919

2020
import java.io.BufferedReader
2121

22-
import scala.concurrent.Await
23-
2422
// scalastyle:off println
2523
import 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

Comments
 (0)