[ 
https://issues.apache.org/jira/browse/MJAVADOC-758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Henning Schmiedehausen resolved MJAVADOC-758.
---------------------------------------------
    Fix Version/s: 3.5.1
       Resolution: Fixed

> IOException --> NullPointerException in JavadocUtil.copyResource
> ----------------------------------------------------------------
>
>                 Key: MJAVADOC-758
>                 URL: https://issues.apache.org/jira/browse/MJAVADOC-758
>             Project: Maven Javadoc Plugin
>          Issue Type: Bug
>            Reporter: Elliotte Rusty Harold
>            Priority: Minor
>             Fix For: 3.5.1
>
>
> These are not IOExceptions. They are null pointers
> {{
>     protected static void copyResource(URL url, File file) throws IOException 
> {
>         if (file == null) {
>             throw new IOException("The file can't be null.");
>         }
>         if (url == null) {
>             throw new IOException("The url could not be null.");
>         }
>         FileUtils.copyURLToFile(url, file);
>     }}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to