PaintNinja opened a new pull request, #2036:
URL: https://github.com/apache/groovy/pull/2036
This PR changes the map used in the generated no-arg constructor to use the
`Collections.EMPTY_MAP` instance rather than creating a new `LinkedHashMap`
each call.
```diff
@Generated
private Foo() {
- this(new LinkedHashMap());
+ this(Collections.EMPTY_MAP);
}
```
--
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]