Skip to content

Commit

Permalink
spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim-Brooks committed May 3, 2024
1 parent 5495006 commit af6f41f
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,7 @@ public static int copyToCacheFileAligned(IO fc, InputStream input, int fileChann
return bytesCopied;
}

public static int copyToCacheFileAligned(IO fc, int fileChannelPos, ByteBuffer buffer)
throws IOException {
public static int copyToCacheFileAligned(IO fc, int fileChannelPos, ByteBuffer buffer) throws IOException {
if (buffer.hasRemaining()) {
// ensure that last write is aligned on 4k boundaries (= page size)
final int remainder = buffer.position() % PAGE_SIZE;
Expand Down

0 comments on commit af6f41f

Please sign in to comment.