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

View File

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