diff --git a/x-pack/plugin/blob-cache/src/main/java/org/elasticsearch/blobcache/shared/SharedBytes.java b/x-pack/plugin/blob-cache/src/main/java/org/elasticsearch/blobcache/shared/SharedBytes.java index 334a6733c5de0..12bdd81a4e0f2 100644 --- a/x-pack/plugin/blob-cache/src/main/java/org/elasticsearch/blobcache/shared/SharedBytes.java +++ b/x-pack/plugin/blob-cache/src/main/java/org/elasticsearch/blobcache/shared/SharedBytes.java @@ -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;