I agree with the Class<? extends Page> with @SuppressWarnings in the framework code. It makes it easier, and there's no drawback either way.
Jeremy On Mon, Jun 2, 2008 at 4:54 PM, Johan Compagner <[EMAIL PROTECTED]> wrote: > On Mon, Jun 2, 2008 at 9:33 PM, Martin Funk <[EMAIL PROTECTED]> > wrote: > > > Hi Sebastiann, > > > > just for clarifying my understanding of the vocabulary: > > > > A_HomePage extends WebPage > > and > > B_HomePage extends WebPage<Void> > > are both non-generified java classes. > > > No the last one is generified.. > The first one is a raw type. > > > > > > > > > > Esp. if the signature of 'public abstract Class<? extends Page<?>> > > getHomePage();' stays that way the HomePage can't be generified. > > > > > No as far as i can see, the home page MUST be generified thats the whole > problem with that constructo > What would happen if we did: > > public abstract Class<? extends Page> > > and have a supresswarning in our code. > > johanm > -- Jeremy Thomerson http://www.wickettraining.com