[
https://issues.apache.org/jira/browse/IO-425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14593761#comment-14593761
]
Kristian Rosenvold commented on IO-425:
---------------------------------------
Fixed in r1686480, added testcase. Thanks for the patch !
> Setter method for ThresholdingOutputStream
> ------------------------------------------
>
> Key: IO-425
> URL: https://issues.apache.org/jira/browse/IO-425
> Project: Commons IO
> Issue Type: New Feature
> Reporter: Craig Swank
> Attachments: thresholdingbytecountsetter.patch
>
>
> We have a class that uses ThresholdingOutputStream as its super class. Our
> class writes to files on the file system and switches to a new file when a
> size threshold has been reached. If our system restarts we would like to be
> able to continue writing to the last file, but for this to work we have to be
> able to set the private var written in ThresholdingOutputStream. This patch
> adds a protected setter method so written can be set to match the file size.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)