Request for help with generics-related compiler warnings

2009-11-07 Thread Philip Johnson
Greetings, Wicket Wizards, I am updating a sample Wicket program from 1.3.6 to 1.4.3 and running into a few generics-related issues. I am hoping you folks can quickly set me straight. My code appears to run successfully and passes its JUnit tests, despite the warnings I would like to

Re: Request for help with generics-related compiler warnings

2009-11-07 Thread Ernesto Reinaldo Barreiro
This does not produces any warnings public class TablePage extends WebPage { /** Support serialization. */ private static final long serialVersionUID = 1L; /** * Creates a page containing a table of Contacts. */ public TablePage() { // Initialize our list of Contact

Re: Request for help with generics-related compiler warnings

2009-11-07 Thread Ernesto Reinaldo Barreiro
and the casting is no longer needed DataViewContact dataView = new DataViewContact(ContactList, new ListDataProviderContact(contacts)) { /** For serialization. */ private static final long serialVersionUID = 1L; /** * Display each row in the table. *

Re: Request for help with generics-related compiler warnings

2009-11-07 Thread PhilipJohnson
= (ListString) varsModel.getObject(); Cheers, Philip -- View this message in context: http://old.nabble.com/Request-for-help-with-generics-related-compiler-warnings-tp26242997p26245535.html Sent from the Wicket - User mailing list archive at Nabble.com