You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Chris Heisterkamp (Jira)" <ji...@apache.org> on 2020/09/28 19:00:02 UTC
[jira] [Created] (IO-690) IOUtils.toByteArray(null) no longer
throws a NullPointerException
Chris Heisterkamp created IO-690:
------------------------------------
Summary: 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
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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)