File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
main/scala/org/apache/spark/deploy
test/scala/org/apache/spark/deploy Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1373,7 +1373,7 @@ private[spark] object SparkSubmitUtils {
1373
1373
exclusions : Seq [String ] = Nil ,
1374
1374
isTest : Boolean = false ): Seq [String ] = {
1375
1375
if (coordinates == null || coordinates.trim.isEmpty) {
1376
- Seq .empty[ String ]
1376
+ Nil
1377
1377
} else {
1378
1378
val sysOut = System .out
1379
1379
// Default configuration name for ivy
Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ class SparkSubmitUtilsSuite extends SparkFunSuite with BeforeAndAfterAll {
133
133
SparkSubmitUtils .buildIvySettings(Option (repo), Some (tempIvyPath)),
134
134
transitive = true ,
135
135
isTest = true )
136
- assert(jarPath.forall(_.indexOf(tempIvyPath) >= 0 ), " should use non-default ivy path" )
136
+ assert(jarPath.forall(_.indexOf(tempIvyPath) >= 0 ), " should use non-default ivy path" )
137
137
}
138
138
}
139
139
@@ -172,7 +172,7 @@ class SparkSubmitUtilsSuite extends SparkFunSuite with BeforeAndAfterAll {
172
172
SparkSubmitUtils .buildIvySettings(None , Some (tempIvyPath)),
173
173
transitive = true ,
174
174
isTest = true )
175
- assert(jarPath.exists(_.indexOf(" mylib" ) >= 0 ), " should find artifact" )
175
+ assert(jarPath.exists(_.indexOf(" mylib" ) >= 0 ), " should find artifact" )
176
176
assert(jarPath.forall(_.indexOf(tempIvyPath) >= 0 ), " should be in new ivy path" )
177
177
assert(jarPath.exists(_.indexOf(" mydep" ) >= 0 ), " should find dependency" )
178
178
}
You can’t perform that action at this time.
0 commit comments