Mercurial Hosting > luan
diff src/org/eclipse/jetty/io/nio/ChannelEndPoint.java @ 1046:a8c92b0a08ed
add JBuffer
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 07 Nov 2016 22:39:39 -0700 |
parents | b71ad168fe34 |
children | 2b769da7f67d |
line wrap: on
line diff
--- a/src/org/eclipse/jetty/io/nio/ChannelEndPoint.java Sun Nov 06 14:54:43 2016 -0700 +++ b/src/org/eclipse/jetty/io/nio/ChannelEndPoint.java Mon Nov 07 22:39:39 2016 -0700 @@ -183,7 +183,7 @@ try { bbuf.position(buffer.putIndex()); - len=_channel.read(bbuf); + len = _channel.read(bbuf); } finally { @@ -215,7 +215,7 @@ if (len>0) throw x; - len=-1; + len = -1; } } else