[
https://issues.apache.org/jira/browse/WICKET-428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alastair Maw resolved WICKET-428.
---------------------------------
Resolution: Fixed
> MiniMap.iterator().next() should throw NoSuchElementException
> -------------------------------------------------------------
>
> Key: WICKET-428
> URL: https://issues.apache.org/jira/browse/WICKET-428
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.2.5
> Reporter: Jan Bareš
> Assigned To: Alastair Maw
> Priority: Trivial
> Fix For: 1.3
>
>
> The wicket.util.collections.MiniMap.iterator().next() should throw
> NoSuchElementException when there are no more elements to return (line 235),
> please add:
> if(i >= size)
> throw new NoSuchElementException();
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.