[
https://issues.apache.org/jira/browse/IO-724?focusedWorklogId=613468&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-613468
]
ASF GitHub Bot logged work on IO-724:
-------------------------------------
Author: ASF GitHub Bot
Created on: 22/Jun/21 12:40
Start Date: 22/Jun/21 12:40
Worklog Time Spent: 10m
Work Description: garydgregory edited a comment 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 we are not
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: 613468)
Time Spent: 2h 10m (was: 2h)
> 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: 2h 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)