Christoph Hart created IO-759:
---------------------------------
Summary: 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
*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)