groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Tompkins (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (GROOVY-7962) ObjectRange should throw an Exception intead of return null
Date Wed, 05 Oct 2016 20:19:21 GMT

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

Mime
View raw message