You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "John Tompkins (JIRA)" <ji...@apache.org> on 2016/10/05 20:19:21 UTC

[jira] [Updated] (GROOVY-7962) ObjectRange should throw an Exception intead of return null

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

John Tompkins updated GROOVY-7962:
----------------------------------
    Description: 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. 

> 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)