Skip to content

Commit 9aa2125

Browse files
committed
code cleaning
1 parent ce36676 commit 9aa2125

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ class SparkILoop(in0: Option[BufferedReader], protected val out: JPrintWriter,
183183
/** Create a new interpreter. */
184184
def createInterpreter() {
185185
if (settings != null) {
186-
if (addedClasspath != "") settings.classpath append addedClasspath
186+
if (addedClasspath != "") settings.classpath.append(addedClasspath)
187187

188188
// work around for Scala bug
189189
val totalClassPath = SparkILoop.getAddedJars.foldLeft(

0 commit comments

Comments
 (0)