--- a/src/java.base/share/classes/sun/nio/ch/IOUtil.java Tue Feb 27 23:11:26 2018 -0800
+++ b/src/java.base/share/classes/sun/nio/ch/IOUtil.java Wed Feb 28 09:54:38 2018 +0000
@@ -55,8 +55,7 @@
throws IOException
{
if (src instanceof DirectBuffer) {
- return writeFromNativeBuffer(fd, src, position,
- directIO, alignment, nd);
+ return writeFromNativeBuffer(fd, src, position, directIO, alignment, nd);
}
// Substitute a native buffer
@@ -77,8 +76,7 @@
// Do not update src until we see how many bytes were written
src.position(pos);
- int n = writeFromNativeBuffer(fd, bb, position,
- directIO, alignment, nd);
+ int n = writeFromNativeBuffer(fd, bb, position, directIO, alignment, nd);
if (n > 0) {
// now update src
src.position(pos + n);
@@ -232,8 +230,7 @@
if (dst.isReadOnly())
throw new IllegalArgumentException("Read-only buffer");
if (dst instanceof DirectBuffer)
- return readIntoNativeBuffer(fd, dst, position,
- directIO, alignment, nd);
+ return readIntoNativeBuffer(fd, dst, position, directIO, alignment, nd);
// Substitute a native buffer
ByteBuffer bb;
@@ -245,8 +242,7 @@
bb = Util.getTemporaryDirectBuffer(rem);
}
try {
- int n = readIntoNativeBuffer(fd, bb, position,
- directIO, alignment,nd);
+ int n = readIntoNativeBuffer(fd, bb, position, directIO, alignment,nd);
bb.flip();
if (n > 0)
dst.put(bb);