Skip to content

Commit f2d534a

Browse files
committed
Style changes
Change-Id: I883b36420471a20615dbb1e7e10421884fa0b690
1 parent b9dad5a commit f2d534a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/main/java/org/apache/spark/shuffle/sort/BypassMergeSortShuffleWriter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ private long[] writePartitionedFile(File outputFile) throws IOException {
190190
}
191191

192192
final FileChannel out = FileChannel.open(outputFile.toPath(),
193-
ImmutableSet.of(WRITE, APPEND, CREATE));
193+
ImmutableSet.of(WRITE, APPEND, CREATE));
194194
final long writeStartTime = System.nanoTime();
195195
boolean threwException = true;
196196
try {
@@ -200,7 +200,7 @@ private long[] writePartitionedFile(File outputFile) throws IOException {
200200
final FileChannel in = FileChannel.open(file.toPath(), ImmutableSet.of(READ));
201201
boolean copyThrewException = true;
202202
try {
203-
final long size = in.size();
203+
long size = in.size();
204204
Utils.copyFileStreamNIO(in, out, 0, size);
205205
lengths[i] = size;
206206
copyThrewException = false;

0 commit comments

Comments
 (0)