[jira] [Updated] (IO-690) IOUtils.toByteArray(null) no longer throws a NullPointerException
[ https://issues.apache.org/jira/browse/IO-690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary D. Gregory updated IO-690: --- Assignee: Gary D. Gregory > IOUtils.toByteArray(null) no longer throws a NullPointerException > - > > Key: IO-690 > URL: https://issues.apache.org/jira/browse/IO-690 > Project: Commons IO > Issue Type: Bug >Affects Versions: 2.8.0 >Reporter: Chris Heisterkamp >Assignee: Gary D. Gregory >Priority: Minor > > The javadoc for IOUtils.toByteArray still says > {{Throws:}} > {{ NullPointerException - if the input is null}} > > but in 2.8.0 it returns an empty byte[] instead. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (IO-690) IOUtils.toByteArray(null) no longer throws a NullPointerException
[ https://issues.apache.org/jira/browse/IO-690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chris Heisterkamp updated IO-690: - Description: The javadoc for IOUtils.toByteArray still says {{Throws:}} {{ NullPointerException - if the input is null}} but in 2.8.0 it returns an empty byte[] instead. was: The javadoc for IOUtils.toByteArray still says ``` Throws: NullPointerException - if the input is null ``` but in 2.8.0 it returns and empty byte[] instead. > IOUtils.toByteArray(null) no longer throws a NullPointerException > - > > Key: IO-690 > URL: https://issues.apache.org/jira/browse/IO-690 > Project: Commons IO > Issue Type: Bug >Affects Versions: 2.8.0 >Reporter: Chris Heisterkamp >Priority: Minor > > The javadoc for IOUtils.toByteArray still says > {{Throws:}} > {{ NullPointerException - if the input is null}} > > but in 2.8.0 it returns an empty byte[] instead. -- This message was sent by Atlassian Jira (v8.3.4#803005)