Skip to content

Commit 10f1c73

Browse files
committed
Added a comment
1 parent 93c3c40 commit 10f1c73

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ class SparkILoop(
206206
// e.g. file:/C:/my/path.jar -> C:/my/path.jar
207207
SparkILoop.getAddedJars.map { jar => new URI(jar).getPath.stripPrefix("/") }
208208
} else {
209+
// We need new URI(jar).getPath here for the case that `jar` includes encoded white space (%20).
209210
SparkILoop.getAddedJars.map { jar => new URI(jar).getPath}
210211
}
211212
// work around for Scala bug

0 commit comments

Comments
 (0)