[ 
https://issues.apache.org/jira/browse/IO-744?focusedWorklogId=627460&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-627460
 ]

ASF GitHub Bot logged work on IO-744:
-------------------------------------

                Author: ASF GitHub Bot
            Created on: 25/Jul/21 16:07
            Start Date: 25/Jul/21 16:07
    Worklog Time Spent: 10m 
      Work Description: coveralls commented on pull request #251:
URL: https://github.com/apache/commons-io/pull/251#issuecomment-886223344


   
   [![Coverage 
Status](https://coveralls.io/builds/41628568/badge)](https://coveralls.io/builds/41628568)
   
   Coverage decreased (-0.01%) to 89.097% when pulling 
**c41c4b6c6798dbaf778b943d8cee9afd8a928409 on rbri:issue_IO-744** into 
**96e3df8a44d2c6baa0de90560cfef5aafba6b176 on apache:master**.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 627460)
    Time Spent: 20m  (was: 10m)

> FileWriterWithEncoding is not backward compatible to version 2.10.0
> -------------------------------------------------------------------
>
>                 Key: IO-744
>                 URL: https://issues.apache.org/jira/browse/IO-744
>             Project: Commons IO
>          Issue Type: Bug
>          Components: Streams/Writers
>    Affects Versions: 2.11.0
>            Reporter: Ronald Brill
>            Priority: Critical
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Creating a new FileWriterWithEncoding for an existing file no longer 
> truncates the file. This was the case in the versions before including 2.10.0.
> Starting with 2.11.0 i'm facing issues with files containing my new content 
> but still have the old one if the existing file was larger than the new 
> content.
>  
> commit b2811e86 seems to introduce the problem - i think we should use 
> StandardOpenOption.CREATE_NEW instead of StandardOpenOption.CREATE (inside 
> the initWriter method)
>  
> Please give me a sign if you  need more details.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to