Elliotte Rusty Harold created MJAVADOC-758:
----------------------------------------------
Summary: 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
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)