You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -156,7 +156,7 @@ public T setMaxCount(final long maxCount) {
156
156
/**
157
157
* Sets the default {@link BoundedInputStream#onMaxLength(long, long)} behavior, {@code null} resets to a NOOP.
158
158
* <p>
159
-
* The first Long is the max count of bytes to read. The second Long is the count of bytes read.
159
+
* The first Long is the number of bytes remaining to read before the maximum is reached count of bytes to read. The second Long is the count of bytes read.
160
160
* </p>
161
161
* <p>
162
162
* This does <em>not</em> override a {@code BoundedInputStream} subclass' implementation of the {@link BoundedInputStream#onMaxLength(long, long)}
@@ -299,7 +299,7 @@ public static Builder builder() {
299
299
/** The current mark. */
300
300
privatelongmark;
301
301
302
-
/** The max count of bytes to read. */
302
+
/** The maximum count of bytes to read. */
303
303
privatefinallongmaxCount;
304
304
305
305
privatefinalIOBiConsumer<Long, Long> onMaxCount;
@@ -410,9 +410,9 @@ public long getMaxCount() {
410
410
}
411
411
412
412
/**
413
-
* Gets the max count of bytes to read.
413
+
* Gets the maximum count of bytes to read.
414
414
*
415
-
* @return The max count of bytes to read.
415
+
* @return The maximum count of bytes to read.
416
416
* @since 2.12.0
417
417
* @deprecated Use {@link #getMaxCount()}.
418
418
*/
@@ -479,7 +479,7 @@ public boolean markSupported() {
479
479
* Delegates to the consumer set in {@link Builder#setOnMaxCount(IOBiConsumer)}.
0 commit comments