[ 
https://issues.apache.org/jira/browse/GROOVY-7962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shil Sinha closed GROOVY-7962.
------------------------------
    Resolution: Duplicate

> ObjectRange should throw an Exception intead of return null 
> ------------------------------------------------------------
>
>                 Key: GROOVY-7962
>                 URL: https://issues.apache.org/jira/browse/GROOVY-7962
>             Project: Groovy
>          Issue Type: Bug
>    Affects Versions: 2.4.7
>            Reporter: John Tompkins
>            Priority: Minor
>
> At the end of an ObjectRange, calling next() will return null. Correct 
> behavior would be throwing an exception since there are no more elements to 
> return. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to