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

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

                Author: ASF GitHub Bot
            Created on: 14/Jun/21 14:26
            Start Date: 14/Jun/21 14:26
    Worklog Time Spent: 10m 
      Work Description: XenoAmess commented on pull request #245:
URL: https://github.com/apache/commons-io/pull/245#issuecomment-860728365


   Thinng about this will be better when after we apply JSR305
   
   If my memory be correct, there be a branch adding these annotations to 
suggest Nullable or NotNull.
   
   How's it going @garydgregory ?


-- 
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:
[email protected]


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

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

> FileUtils.deleteDirectory javadoc is inaccurate for nonexistent directory
> -------------------------------------------------------------------------
>
>                 Key: IO-724
>                 URL: https://issues.apache.org/jira/browse/IO-724
>             Project: Commons IO
>          Issue Type: Bug
>          Components: Utilities
>    Affects Versions: 2.8.0
>            Reporter: Henry Tung
>            Priority: Minor
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> FileUtils.deleteDirectory javadoc claims:
> {code:java}
> @throws IllegalArgumentException if {@code directory} does not exist or is 
> not a directory{code}
> but the first two lines of the code are:
> {code:java}
> Objects.requireNonNull(directory, "directory");
> if (!directory.exists()) {
>     return;
> }{code}
>  



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

Reply via email to