Skip to content

Commit

Permalink
Style changes
Browse files Browse the repository at this point in the history
Change-Id: I883b36420471a20615dbb1e7e10421884fa0b690
  • Loading branch information
jerryshao committed Jul 19, 2017
1 parent b9dad5a commit f2d534a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ private long[] writePartitionedFile(File outputFile) throws IOException {
}

final FileChannel out = FileChannel.open(outputFile.toPath(),
ImmutableSet.of(WRITE, APPEND, CREATE));
ImmutableSet.of(WRITE, APPEND, CREATE));
final long writeStartTime = System.nanoTime();
boolean threwException = true;
try {
Expand All @@ -200,7 +200,7 @@ private long[] writePartitionedFile(File outputFile) throws IOException {
final FileChannel in = FileChannel.open(file.toPath(), ImmutableSet.of(READ));
boolean copyThrewException = true;
try {
final long size = in.size();
long size = in.size();
Utils.copyFileStreamNIO(in, out, 0, size);
lengths[i] = size;
copyThrewException = false;
Expand Down

0 comments on commit f2d534a

Please sign in to comment.