[ 
https://issues.apache.org/jira/browse/IO-759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17472663#comment-17472663
 ] 

Gary D. Gregory edited comment on IO-759 at 2/6/22, 10:01 PM:
--------------------------------------------------------------

Hello [~ch56] 

This might already be fixed in 2.12.0-SNAPSHOT.

Would you provide an example in a failing unit test on GitHub?

Feel free to provide a fix in the same PR if you can.


was (Author: garydgregory):
Hello [~ch56] 

This might already be fixed in 2.12.0-SNAPSHOT.

Would you provide an example in a failing unit test on GutHub?

Feel free to provide a fix in the same PR if you can.

> 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.1#820001)

Reply via email to