You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Johannes Schneider (JIRA)" <ji...@apache.org> on 2008/04/10 15:42:05 UTC
[jira] Issue Comment Edited: (WICKET-1512) Widen Generics for
Lists/Iteratos
[ https://issues.apache.org/jira/browse/WICKET-1512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12587638#action_12587638 ]
shake edited comment on WICKET-1512 at 4/10/08 6:41 AM:
---------------------------------------------------------------------
...
was (Author: shake):
Okay, the example is stupid. IDataProvider misses one parameter. So forget that method...
> Widen Generics for Lists/Iteratos
> ---------------------------------
>
> Key: WICKET-1512
> URL: https://issues.apache.org/jira/browse/WICKET-1512
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.4-M1
> Reporter: Johannes Schneider
> Assignee: Johan Compagner
>
> It is important to widen the generics for collections.
> For example it is better (and sometimes necessary) to change the signature of org.apache.wicket.markup.repeater.data.IDataProvider#iterator to:
> Iterator<? extends T> iterator(int first, int count);
> I will create and add a patch later.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.