Skip to content

Commit

Permalink
using an interpolated string
Browse files Browse the repository at this point in the history
  • Loading branch information
Sephiroth-Lin committed Feb 10, 2015
1 parent b968e14 commit fbbc785
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions core/src/main/scala/org/apache/spark/HttpFileServer.scala
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,8 @@ private[spark] class HttpFileServer(
try {
Utils.deleteRecursively(baseDir)
} catch {
case e: Exception => {
val path = baseDir.getAbsolutePath
logWarning(s"Exception while deleting Spark temp dir: $path", e)
}
case e: Exception =>
logWarning(s"Exception while deleting Spark temp dir: ${baseDir.getAbsolutePath}", e)
}
}

Expand Down

0 comments on commit fbbc785

Please sign in to comment.