[ 
https://issues.apache.org/jira/browse/IO-759?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gary D. Gregory closed IO-759.
------------------------------
    Resolution: Cannot Reproduce

Closing as CR, no test.

> behavior change of org.apache.commons.io.output.FileWriterWithEncoding
> ----------------------------------------------------------------------
>
>                 Key: IO-759
>                 URL: https://issues.apache.org/jira/browse/IO-759
>             Project: Commons IO
>          Issue Type: Bug
>    Affects Versions: 2.11.0
>            Reporter: Christoph Hart
>            Priority: Major
>
> *behavior change* of 
> {*}org.apache.commons.io.output.FileWriterWithEncoding{*}!
> - Using commons-io-2.10.0.jar overwritting a file just creates a new file 
> with the new content.
> - Using commons-io-2.11.0.jar overwrites just the existing file with new 
> content, but leaves the rest of previous biger content in the file.
> Code example:
> try (BufferedWriter fkfwr = new BufferedWriter(new 
> FileWriterWithEncoding(ftokeyfile,"UTF-8"))) { ...
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to