Thanks for the feedback. I went and checked the code to make sure the
same issues did not exist there. Could you please paste the url of the
exact tutorial you're seeing the mistake on so I can go correct it?
Thanks
wnqq wrote:
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.