Skip to content

Commit c6b82c0

Browse files
author
Niall Pemberton
committed
IO-121 - change the new method name from reset() to resetByteCount() to make it more obvious what its function is
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/io/trunk@540714 13f79535-47bb-0310-9956-ffa450edef68
1 parent 7461d3d commit c6b82c0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/java/org/apache/commons/io/output/ThresholdingOutputStream.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ protected void checkThreshold(int count) throws IOException
226226
* Resets the byteCount to zero. You can call this from
227227
* {@link #thresholdReached()} if you want the event to be triggered again.
228228
*/
229-
protected void reset()
229+
protected void resetByteCount()
230230
{
231231
this.thresholdExceeded = false;
232232
this.written = 0;

0 commit comments

Comments
 (0)