Skip to content

Commit 1a4be51

Browse files
committed
[SPARK-18132] Fix checkstyle
This PR fixes checkstyle. Author: Yin Huai <[email protected]> Closes #15656 from yhuai/fix-format. (cherry picked from commit d3b4831) Signed-off-by: Yin Huai <[email protected]>
1 parent dcf2f09 commit 1a4be51

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

core/src/main/java/org/apache/spark/util/collection/unsafe/sort/UnsafeExternalSorter.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,10 @@ private UnsafeExternalSorter(
142142
this.recordComparator = recordComparator;
143143
this.prefixComparator = prefixComparator;
144144
// Use getSizeAsKb (not bytes) to maintain backwards compatibility for units
145-
// this.fileBufferSizeBytes = (int) conf.getSizeAsKb("spark.shuffle.file.buffer", "32k") * 1024;
145+
// this.fileBufferSizeBytes = (int) conf.getSizeAsKb("spark.shuffle.file.buffer", "32k") * 1024
146146
this.fileBufferSizeBytes = 32 * 1024;
147-
// The spill metrics are stored in a new ShuffleWriteMetrics, and then discarded (this fixes SPARK-16827).
147+
// The spill metrics are stored in a new ShuffleWriteMetrics,
148+
// and then discarded (this fixes SPARK-16827).
148149
// TODO: Instead, separate spill metrics should be stored and reported (tracked in SPARK-3577).
149150
this.writeMetrics = new ShuffleWriteMetrics();
150151

0 commit comments

Comments
 (0)