Github user baybatu commented on the pull request:
https://github.com/apache/groovy/commit/3ed1c5c48e97007c83404149764b1163dcaf39e3#commitcomment-18601444
In src/main/org/codehaus/groovy/runtime/DefaultGroovyMethods.java:
In src/main/org/codehaus/groovy/runtime/DefaultGroovyMethods.java on line
3059:
It would be better to put this argument check beginning of the method -as
'guard-clause'- without creating ArrayList objects at the beginning of the
method.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---