Skip to content

Commit 9e4ad96

Browse files
committed
Reformat for style checker
1 parent 5d84e0e commit 9e4ad96

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

core/src/main/scala/org/apache/spark/HttpServer.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,15 +84,15 @@ private[spark] class HttpServer(resourceBase: File,
8484
private def startWithIncrements(startPort: Int, maxRetries: Int): Tuple2[Server,Int] = {
8585
for( offset <- 0 to maxRetries) {
8686
try {
87-
val (server, actualPort) = startOnPort(startPort+offset)
87+
val (server, actualPort) = startOnPort(startPort + offset)
8888
return (server, actualPort)
8989
} catch {
9090
case e: java.net.BindException => {
9191
if (!e.getMessage.contains("Address already in use") ||
9292
offset == (maxRetries-1)) {
9393
throw e
9494
}
95-
logInfo("Could not bind on port: " + (startPort+offset))
95+
logInfo("Could not bind on port: " + (startPort + offset))
9696
}
9797
case e: Exception => throw e
9898
}

core/src/main/scala/org/apache/spark/network/ConnectionManager.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ private[spark] class ConnectionManager(port: Int, conf: SparkConf,
113113
offset == maxTries) {
114114
throw e
115115
}
116-
logInfo("Could not bind on port: " + (port+offset))
116+
logInfo("Could not bind on port: " + (port + offset))
117117
}
118118
case e: Exception => throw e
119119
}

0 commit comments

Comments
 (0)