Github user paplorinc commented on a diff in the pull request:
https://github.com/apache/groovy/pull/360#discussion_r69048213
--- Diff: src/main/groovy/lang/IntRange.java ---
@@ -187,7 +187,7 @@ public IntRange(boolean inclusive, int from, int to) {
private void checkSize() {
// size() in the Collection interface returns an integer, so
ranges can have no more than Integer.MAX_VALUE elements
- Long size = (long) this.to - this.from + 1;
+ final Long size = (long) to - from + 1;
--- End diff --
very boring commit to make the review of the high risk commit simpler
---
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.
---