You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Igor Vaynberg (JIRA)" <ji...@apache.org> on 2008/11/26 20:18:44 UTC

[jira] Commented: (WICKET-1866) MarkupContainer already follows the contract of Iterable; it should implement it.

    [ https://issues.apache.org/jira/browse/WICKET-1866?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12651114#action_12651114 ] 

Igor Vaynberg commented on WICKET-1866:
---------------------------------------

there is a problem with generics here

currently markupcontainer has public Iterator<? extends Component> iterator() but if we make it implement iterable we have to change it to Iterator<Component> ... not sure which one is right.

> MarkupContainer already follows the contract of Iterable; it should implement it.
> ---------------------------------------------------------------------------------
>
>                 Key: WICKET-1866
>                 URL: https://issues.apache.org/jira/browse/WICKET-1866
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4-M3
>            Reporter: Maarten Billemont
>
> To support the enhanced for syntax and several other features of the language; MarkupContainers should implement the Iterable interface whose contract it already follows.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.