Skip to content

Commit

Permalink
code cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
CodingCat committed Feb 27, 2014
1 parent ce36676 commit 9aa2125
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion repl/src/main/scala/org/apache/spark/repl/SparkILoop.scala
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ class SparkILoop(in0: Option[BufferedReader], protected val out: JPrintWriter,
/** Create a new interpreter. */
def createInterpreter() {
if (settings != null) {
if (addedClasspath != "") settings.classpath append addedClasspath
if (addedClasspath != "") settings.classpath.append(addedClasspath)

// work around for Scala bug
val totalClassPath = SparkILoop.getAddedJars.foldLeft(
Expand Down

0 comments on commit 9aa2125

Please sign in to comment.