Fix checkstyle

This commit is contained in:
Norman Maurer 2012-06-29 13:38:20 +02:00
parent e53be94773
commit 70bfaf4454

View File

@ -471,7 +471,7 @@ public abstract class HttpMessageDecoder extends ReplayingDecoder<HttpMessageDec
if (internal.readableBytes() >= len) {
int index = internal.readerIndex();
ChannelBuffer buf = internal.slice(index, len);
// update the readerindex so an the next read its on the correct position
buffer.readerIndex(index + len);
return buf;