[
https://issues.apache.org/jira/browse/WICKET-2137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12678092#action_12678092
]
Brill Pappin commented on WICKET-2137:
--------------------------------------
One thing to keep in mind is that once you use List<? extends T>, then your
list could actually have more than one type in it, which is generally thought
of as bad practice.
However, I don't actually care which one it uses as long as its consistent and
doesn't try to make a decision for me about how I'm going to use it.
As long as I can use one model on both types of components (components which
are not really different in both a semantic and concrete way), then I don't
really mind at this point which format is used.
> Remove ? extends from constructor of DropDownChoice
> ---------------------------------------------------
>
> Key: WICKET-2137
> URL: https://issues.apache.org/jira/browse/WICKET-2137
> Project: Wicket
> Issue Type: Improvement
> Components: wicket
> Affects Versions: 1.4-RC3
> Environment: 1.4-SNAPSHOT as of 2009-01-28
> Reporter: Brill Pappin
>
> DropDownChoice has a generics definition of List<? extends T> in its
> constructor.
> This causes trouble with existing models that may be used in a DropDownChoice
> and is not consistant with ListView which uses <List<T>>.
> Change DropDownChoice to match the other list type components so that their
> models can be used across components.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.