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.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
http://raibledesigns.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to