diff src/org/eclipse/jetty/io/nio/ChannelEndPoint.java @ 1031:921c25a05eaa

remove Buffer.asReadOnlyBuffer()
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 03 Nov 2016 02:04:40 -0600
parents 0e96ce3db20a
children b71ad168fe34
line wrap: on
line diff
--- a/src/org/eclipse/jetty/io/nio/ChannelEndPoint.java	Thu Nov 03 01:10:09 2016 -0600
+++ b/src/org/eclipse/jetty/io/nio/ChannelEndPoint.java	Thu Nov 03 02:04:40 2016 -0600
@@ -234,7 +234,7 @@
 		if (buf instanceof NIOBuffer)
 		{
 			final NIOBuffer nbuf = (NIOBuffer)buf;
-			final ByteBuffer bbuf=nbuf.getByteBuffer().asReadOnlyBuffer();
+			final ByteBuffer bbuf = nbuf.getByteBuffer().asReadOnlyBuffer();
 			try
 			{
 				bbuf.position(buffer.getIndex());