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
// TODO For 3.0, extend CountingInputStream. Or, add a max feature to CountingInputStream.
40
40
41
41
/**
42
42
* Builds a new {@link BoundedInputStream} instance.
@@ -115,12 +115,6 @@ public static Builder builder() {
115
115
/** The max count of bytes to read. */
116
116
privatefinallongmaxCount;
117
117
118
-
/** The count of bytes read. */
119
-
privatelongcount;
120
-
121
-
/** The marked position. */
122
-
privatelongmark = EOF;
123
-
124
118
/**
125
119
* Flag if close should be propagated.
126
120
*
@@ -161,25 +155,17 @@ public BoundedInputStream(final InputStream inputStream, final long maxCount) {
161
155
* @param propagateClose {@code true} if calling {@link #close()} propagates to the {@code close()} method of the underlying stream or {@code false} if it
0 commit comments