Skip to content

Commit c98ff1d

Browse files
committed
fix comments
1 parent 8fefa03 commit c98ff1d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -280,9 +280,9 @@ private[spark] class DiskBlockObjectWriter(
280280
}
281281

282282
/**
283-
* Reverts write metrics that haven't been committed yet and delete the file held
284-
* by current `DiskBlockObjectWriter`. Callers should invoke this function when there
285-
* are runtime exceptions in file writing process and the file is no longer needed.
283+
* Reverts write metrics and delete the file held by current `DiskBlockObjectWriter`.
284+
* Callers should invoke this function when there are runtime exceptions in file
285+
* writing process and the file is no longer needed.
286286
*/
287287
def closeAndDelete(): Unit = {
288288
Utils.tryWithSafeFinally {

0 commit comments

Comments
 (0)