Skip to content

Commit 7ac474a

Browse files
committed
Address code style feedback
1 parent 5951b33 commit 7ac474a

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

core/src/test/scala/org/apache/spark/deploy/IvyTestUtils.scala

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,11 +250,15 @@ private[deploy] object IvyTestUtils {
250250
attr.put(Name.MANIFEST_VERSION, "1.0")
251251
attr.put(new Name("Spark-HasRPackage"), "true")
252252
mani
253-
} else null
253+
} else {
254+
null
255+
}
254256
}
255257
val jarStream = if (manifest != null) {
256258
new JarOutputStream(jarFileStream, manifest)
257-
} else new JarOutputStream(jarFileStream)
259+
} else {
260+
new JarOutputStream(jarFileStream)
261+
}
258262

259263
for (file <- files) {
260264
val jarEntry = new JarEntry(file._1)

0 commit comments

Comments
 (0)