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 Mon, 21 Oct 2019 16:28:00 GMT

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

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

                Author: ASF GitHub Bot
            Created on: 21/Oct/19 16:27
            Start Date: 21/Oct/19 16:27
    Worklog Time Spent: 10m 
      Work Description: coveralls commented on issue #98: IO-629: Providing more meaningful
exceptions on file delete
URL: https://github.com/apache/commons-io/pull/98#issuecomment-540835448
 
 
   
   [![Coverage Status](https://coveralls.io/builds/26444225/badge)](https://coveralls.io/builds/26444225)
   
   Coverage increased (+0.1%) to 89.411% when pulling **49007274949db73984c21724bcae7a67193a376c
on malfist:IO-629** into **dbd01426cdc0151a9db1e3181b487738ae8628e4 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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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

    Worklog Id:     (was: 331476)
    Time Spent: 2h 10m  (was: 2h)

> 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: 2h 10m
>  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