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

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

                Author: ASF GitHub Bot
            Created on: 15/Jun/21 12:03
            Start Date: 15/Jun/21 12:03
    Worklog Time Spent: 10m 
      Work Description: garydgregory commented on pull request #245:
URL: https://github.com/apache/commons-io/pull/245#issuecomment-861440160


   > 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 ?
   
   Fixing Javadoc here is good. JSR305/8 is a different story, which are doing 
for now.


-- 
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: 611278)
    Time Spent: 1h 10m  (was: 1h)

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