Skip to content

Commit ac3ffcf

Browse files
author
Thomas Graves
committed
scalastyle again
1 parent e627adc commit ac3ffcf

File tree

1 file changed

+2
-2
lines changed
  • yarn/src/main/scala/org/apache/spark/deploy/yarn

1 file changed

+2
-2
lines changed

yarn/src/main/scala/org/apache/spark/deploy/yarn/Client.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1193,10 +1193,10 @@ object Client extends Logging {
11931193
}
11941194

11951195
private def getMainJarUri(mainJar: Option[String]): Option[URI] = {
1196-
mainJar.flatMap { path =
1196+
mainJar.flatMap { path =>
11971197
val uri = new URI(path)
11981198
if (uri.getScheme == LOCAL_SCHEME) Some(uri) else None
1199-
}.orElse(Some(new URI(APP_JAR)))
1199+
}.orElse(Some(new URI(APP_JAR)))
12001200
}
12011201

12021202
private def getSecondaryJarUris(secondaryJars: Option[String]): Seq[URI] = {

0 commit comments

Comments
 (0)