Skip to content

Commit 28b90dc

Browse files
committed
Update to follow the code style
1 parent 4521d6e commit 28b90dc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

core/src/main/scala/org/apache/spark/storage/DiskStore.scala

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,9 @@ private[spark] class DiskStore(blockManager: BlockManager, diskManager: DiskBloc
7979
} catch {
8080
case e: Throwable => {
8181
outputStream.close()
82-
if(file.exists()) file.delete()
82+
if(file.exists()) {
83+
file.delete()
84+
}
8385
throw e
8486
}
8587
}

0 commit comments

Comments
 (0)