Javadoc: Match name.
MODIFY
src/main/java/org/apache/commons/io/input/buffer/CircularByteBuffer.java
src/main/java/org/apache/commons/io/input/buffer/CircularByteBuffer.java
@@ -80,8 +80,8 @@ public byte read() {
* @param targetOffset The offset, where to store bytes in the byte array.
* @param length The number of bytes to return.
* @throws NullPointerException The byte array {@code pBuffer} is null.
- * @throws IllegalArgumentException Either of {@code pOffset}, or {@code pLength} is negative,
- * or the length of the byte array {@code pBuffer} is too small.
+ * @throws IllegalArgumentException Either of {@code pOffset}, or {@code length} is negative,
+ * or the length of the byte array {@code targetBuffer} is too small.
* @throws IllegalStateException The buffer doesn't hold the given number
* of bytes. Use {@link #getCurrentNumberOfBytes()} to prevent this
* exception.
@@ -143,8 +143,8 @@ public void add(final byte value) {
* @param length length to compare
* @return True, if the next invocations of {@link #read()} will return the
* bytes at offsets {@code pOffset}+0, {@code pOffset}+1, ...,
- * {@code pOffset}+{@code pLength}-1 of byte array {@code pBuffer}.
- * @throws IllegalArgumentException Either of {@code pOffset}, or {@code pLength} is negative.
+ * {@code pOffset}+{@code length}-1 of byte array {@code pBuffer}.
+ * @throws IllegalArgumentException Either of {@code pOffset}, or {@code length} is negative.
* @throws NullPointerException The byte array {@code pBuffer} is null.
*/
public boolean peek(final byte[] sourceBuffer, final int offset, final int length) {
@@ -180,7 +180,7 @@ public boolean peek(final byte[] sourceBuffer, final int offset, final int lengt
* @param length length to copy
* @throws IllegalStateException The buffer doesn't have sufficient space. Use
* {@link #getSpace()} to prevent this exception.
- * @throws IllegalArgumentException Either of {@code pOffset}, or {@code pLength} is negative.
+ * @throws IllegalArgumentException Either of {@code offset}, or {@code length} is negative.
* @throws NullPointerException The byte array {@code pBuffer} is null.
*/
public void add(final byte[] targetBuffer, final int offset, final int length) {

Javadoc: Match name.