Fix documentation error in ByteBuf

- Fixes #1531
- Thanks to @daschl
This commit is contained in:
Trustin Lee 2013-07-05 17:03:34 +09:00
parent b63f3488b7
commit dfc05a6ed7
1 changed files with 2 additions and 2 deletions

View File

@ -78,7 +78,7 @@ import java.nio.charset.UnsupportedCharsetException;
* current {@link #readerIndex() readerIndex} and increase it by the number of
* read bytes. If the argument of the read operation is also a
* {@link ByteBuf} and no destination index is specified, the specified
* buffer's {@link #readerIndex() readerIndex} is increased together.
* buffer's {@link #writerIndex() writerIndex} is increased together.
* <p>
* If there's not enough content left, {@link IndexOutOfBoundsException} is
* raised. The default value of newly allocated, wrapped or copied buffer's
@ -181,7 +181,7 @@ import java.nio.charset.UnsupportedCharsetException;
* For complicated searches, use {@link #forEachByte(int, int, ByteBufProcessor)} with a {@link ByteBufProcessor}
* implementation.
*
* <h3>Mark and reset</h3>
* <h3>Mark and reset</h3>
*
* There are two marker indexes in every buffer. One is for storing
* {@link #readerIndex() readerIndex} and the other is for storing