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, 28 Oct 2019 14:03:00 GMT

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

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

                Author: ASF GitHub Bot
            Created on: 28/Oct/19 14:02
            Start Date: 28/Oct/19 14:02
    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/26592290/badge)](https://coveralls.io/builds/26592290)
   
   Coverage decreased (-0.05%) to 89.411% when pulling **cc95fe353f554101ecb7816967c464c19b42509c
on malfist:IO-629** into **b06408a0467eac51e9e4bc13ea2d6d4cc3906ebb 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: 334955)
    Time Spent: 2h 40m  (was: 2.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: 2h 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