The issue there is that only JDK 1.5 (with covariance) would support changing the return type of these methods.
Otherwise you still need to cast each time you call the overridden method. Cameron. > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:wicket-develop- > [EMAIL PROTECTED] On Behalf Of Gili > Sent: Wednesday, 17 August 2005 3:23 PM > To: [email protected] > Subject: Re: [Wicket-develop] Renaming getApplication() and getSession() > > > Sorry, but -1. I'd much rather make these methods non-final instead. > Wouldn't you prefer that as well? > > Gili > > Igor Vaynberg wrote: > > What do you guys think of renaming all the getApplication() and > getSession() > > methods to getWicketApplication() and getWicketSession(). I am really > sick > > of introducing get<SHORT_APP_NAME>Application() and > > get<SHORT_APP_NAME>Session() everywhere because afore mentioned are > already > > taken and final! Makes my code look way more verbose. Seems like a good > time > > to do it since we are breaking some things in this release anyways. > > > > -Igor > > > > > > > > > > ------------------------------------------------------- > > SF.Net email is Sponsored by the Better Software Conference & EXPO > > September 19-22, 2005 * San Francisco, CA * Development Lifecycle > Practices > > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & > QA > > Security * Process Improvement & Measurement * > http://www.sqe.com/bsce5sf > > _______________________________________________ > > Wicket-develop mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/wicket-develop > > > > -- > http://www.desktopbeautifier.com/ > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle > Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Wicket-develop mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wicket-develop ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Wicket-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-develop
