Skip to content

Commit

Permalink
Commit formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisBellew committed Jan 31, 2024
1 parent a5cb4c2 commit 7ffb53d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ public final void run() {
*/
boolean lastRange = end == FILE_SIZE;
long length = lastRange ? end - start : end - start + OVERLAP;

MappedByteBuffer buffer = fileChannel.map(FileChannel.MapMode.READ_ONLY, start, length);
processRange(buffer, lastRange);
}
Expand Down Expand Up @@ -317,7 +317,7 @@ private final void processRange(MappedByteBuffer buffer, boolean lastRange) {
* Parses and processes each line from a buffer.
*/
private final void processBuffer(byte[] buffer, int numBytes, boolean lastRange, boolean lastBuffer, long globalPosition) {

/**
* Skip past any characters before the first newline because the previous
* segment will have already processed them. That is unless this if the
Expand Down

0 comments on commit 7ffb53d

Please sign in to comment.