Mercurial Hosting > luan
diff src/org/eclipse/jetty/io/nio/ChannelEndPoint.java @ 1005:0e96ce3db20a
remove HttpBuffers
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 23 Oct 2016 02:42:05 -0600 |
parents | 4f2d04c72781 |
children | 921c25a05eaa |
line wrap: on
line diff
--- a/src/org/eclipse/jetty/io/nio/ChannelEndPoint.java Sat Oct 22 23:00:57 2016 -0600 +++ b/src/org/eclipse/jetty/io/nio/ChannelEndPoint.java Sun Oct 23 02:42:05 2016 -0600 @@ -158,6 +158,7 @@ @Override public void close() throws IOException { +//Thread.dumpStack(); LOG.debug("close {}",this); _channel.close(); } @@ -168,11 +169,11 @@ if (_ishut) return -1; Buffer buf = buffer.buffer(); - int len=0; + int len = 0; if (buf instanceof NIOBuffer) { final NIOBuffer nbuf = (NIOBuffer)buf; - final ByteBuffer bbuf=nbuf.getByteBuffer(); + final ByteBuffer bbuf = nbuf.getByteBuffer(); //noinspection SynchronizationOnLocalVariableOrMethodParameter try