Marcono1234 opened a new pull request #310: URL: https://github.com/apache/commons-io/pull/310
During the development of [IO-484](https://issues.apache.org/jira/browse/IO-484) the behavior was first to remove null bytes (afe78a030b57e3f74825e134d6615ef4878778cc) but then later the implementation was changed to throw an exception instead (5d072ef89fbc2532f621a5a0b4d6791cb926a997). However, not the complete documentation was adjusted. This pull request corrects the documentation by mentioning that an `IllegalArgumentException` will be thrown for null bytes. However, there are cases where the null bytes check is missing, or might be undesired. I have added TODO comments at these locations. Please let me know if you want any additional changes there. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
