We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5951b33 commit 7ac474aCopy full SHA for 7ac474a
1 file changed
core/src/test/scala/org/apache/spark/deploy/IvyTestUtils.scala
@@ -250,11 +250,15 @@ private[deploy] object IvyTestUtils {
250
attr.put(Name.MANIFEST_VERSION, "1.0")
251
attr.put(new Name("Spark-HasRPackage"), "true")
252
mani
253
- } else null
+ } else {
254
+ null
255
+ }
256
}
257
val jarStream = if (manifest != null) {
258
new JarOutputStream(jarFileStream, manifest)
- } else new JarOutputStream(jarFileStream)
259
260
+ new JarOutputStream(jarFileStream)
261
262
263
for (file <- files) {
264
val jarEntry = new JarEntry(file._1)
0 commit comments