[PR] Avoid NPE in <mappedresources> [ant]
maartenc (via GitHub) <[email protected]>
| Newsgroups | gmane.comp.jakarta.ant.devel |
|---|---|
| Message-ID | <[email protected]> |
maartenc opened a new pull request, #237: URL: https://github.com/apache/ant/pull/237 When the used `<mapper>` in `<mappedresources>` skips a file, this results in a NPE. With this change, the file is skipped. This is the same behavior as with Ant 1.9.x. And I think an attempt was made earlier to also fix it, but the `Object.nonNull` call had no effect there, since it's the `String[]` that is null in such a case. -- 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]