commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (Jira)" <j...@apache.org>
Subject [jira] [Work logged] (IO-629) FileUtils#forceDelete should use Files#delete rather than File#delete so exception messages includes reason for failure
Date Thu, 10 Oct 2019 22:33:00 GMT

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

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

                Author: ASF GitHub Bot
            Created on: 10/Oct/19 22:32
            Start Date: 10/Oct/19 22:32
    Worklog Time Spent: 10m 
      Work Description: garydgregory commented on issue #98: IO-629: Providing more meaningful
exceptions on file delete
URL: https://github.com/apache/commons-io/pull/98#issuecomment-540826342
 
 
   @malfist You did the right thing. I made the fix in master after you created your PR.
 
----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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

    Worklog Id:     (was: 326611)
    Time Spent: 40m  (was: 0.5h)

> FileUtils#forceDelete should use Files#delete rather than File#delete so exception messages
includes reason for failure
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: IO-629
>                 URL: https://issues.apache.org/jira/browse/IO-629
>             Project: Commons IO
>          Issue Type: Improvement
>            Reporter: Ian Springer
>            Priority: Major
>         Attachments: IO-629.patch
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> From File#delete Javadoc:
> {noformat}
> <p> Note that the {@link java.nio.file.Files} class defines the 
> {@link java.nio.file.Files#delete(Path) delete} method to throw
> an {@link IOException} when a file cannot be deleted. This is 
> useful for error reporting and to diagnose why a file cannot be
>  deleted.
> {noformat}
>  
>  This change is possible now that 2.6 requires Java 7.
>  



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

Mime
View raw message