Fixed the documentation error reported by Stefan

This commit is contained in:
Trustin Lee 2009-05-08 08:21:13 +00:00
parent 6a570765d4
commit 24ec8eeff6

View File

@ -1384,8 +1384,7 @@ public interface ChannelBuffer extends Comparable<ChannelBuffer> {
/** /**
* Returns a slice of this buffer's sub-region. Modifying the content of * Returns a slice of this buffer's sub-region. Modifying the content of
* the returned buffer or this buffer affects each other's content while * the returned buffer or this buffer affects each other's content while
* they maintain separate indexes and marks. This method is identical to * they maintain separate indexes and marks.
* {@code buf.slice(buf.readerIndex(), buf.readableBytes())}.
* This method does not modify {@code readerIndex} or {@code writerIndex} of * This method does not modify {@code readerIndex} or {@code writerIndex} of
* this buffer. * this buffer.
*/ */