It is generified in trunk, but it might be possible that it was not yet at the time of the 1.4-m1 release.
Maurice On Tue, May 13, 2008 at 3:47 PM, Stefan Simik <[EMAIL PROTECTED]> wrote: > > Hi boys, > > I would like to ask something about wicket generics. I have a warning, that > I don't know, how to solve. > > For example in such a line: > ------------------------------------------------------------ > IModel<String> model = new StringResourceModel( ... ); > > I have a warning, which I cannot remove: > ----------------------------------------------------------- > Type safety: The expression of type StringResourceModel needs unchecked > conversion to conform to IModel<String> > > > Why is the StringResourceModel (and some other classes) not generified ? > Will they be later, > or is there any problem with generifying of these classes ? > > Thx, > Stefan Simik > > > > > -- > View this message in context: > http://www.nabble.com/Using-generics-with-some-non-generic-classes-in-Wicket-tp17208928p17208928.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
