You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Alastair Maw (JIRA)" <ji...@apache.org> on 2007/03/27 19:17:32 UTC
[jira] Resolved: (WICKET-428) MiniMap.iterator().next() should
throw NoSuchElementException
[ 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.