This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-io.git
The following commit(s) were added to refs/heads/master by this push:
new b195401 Javadoc: Match name.
b195401 is described below
commit b195401da81c4660ddca825d375c6c31c10af2fa
Author: Gary Gregory <[email protected]>
AuthorDate: Sun Jan 31 10:24:59 2021 -0500
Javadoc: Match name.
---
.../org/apache/commons/io/input/buffer/CircularByteBuffer.java | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git
a/src/main/java/org/apache/commons/io/input/buffer/CircularByteBuffer.java
b/src/main/java/org/apache/commons/io/input/buffer/CircularByteBuffer.java
index 729fb36..46fb1c3 100644
--- a/src/main/java/org/apache/commons/io/input/buffer/CircularByteBuffer.java
+++ b/src/main/java/org/apache/commons/io/input/buffer/CircularByteBuffer.java
@@ -80,8 +80,8 @@ public class CircularByteBuffer {
* @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 class CircularByteBuffer {
* @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 class CircularByteBuffer {
* @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) {