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]

Reply via email to