I did not track all the places of weird code, so I just quickly browsed the page again......
Got one more on the same page: private PersonDao<Person, Long> personDao = null; it should then be modified as: private PersonDao personDao = null; mraible wrote: > > You said several pieces are weird, but you've only listed one. Are there > more? > > Matt > > On 3/8/07, wnqq <[EMAIL PROTECTED]> wrote: >> >> Several code pieces regarding java generics in the appfuse2 tutorials are >> weird. >> For example, in the hibernate tutorial: >> http://appfuse.org/display/APF/Using+Hibernate >> >> The code: >> >> public interface PersonDao<T, PK extends java.io.Serializable> extends >> GenericDao { >> >> should be: >> >> public interface PersonDao extends GenericDao <Person, Long> { >> >> >> -- >> View this message in context: >> http://www.nabble.com/improper-usages-of-generics-in-tutorials-tf3373931s2369.html#a9388982 >> Sent from the AppFuse - User mailing list archive at Nabble.com. >> > -- View this message in context: http://www.nabble.com/improper-usages-of-generics-in-tutorials-tf3373931s2369.html#a9392011 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
