commit | a46c601eadf6b06a850a8a6e27dda8d35c7263d4 | [log] [tgz] |
---|---|---|
author | Bo Zhang <zhangbodut@gmail.com> | Wed Jan 15 23:10:13 2020 +0800 |
committer | Daniel.Sun <realbluesun@hotmail.com> | Thu Jan 16 08:02:46 2020 +0800 |
tree | 81df3006577187b633f89b553020131d7093980d | |
parent | 19e5a121382614e8462bc20a623c1ca08c270352 [diff] |
Fix GROOVY-8966 Previously, when a exclusive NumberRange constructed from non-int type (e.g. long) is used in List.getAt(), it will be incorrectly converted to inclusive. This commit fixes this issue by introducing a subListBorders() method to NumberRange, which is similar to IntRange.