[jboss-user] [JBoss Seam] - Re: default equals() doesn't behave as expected for javaBean

fhh do-not-reply at jboss.com
Thu Apr 26 13:33:03 EDT 2007


The default equals method (of Object) checks if the objects are identical and returns false otherwise. So this behaviour is to be expected.

Overwrite equals() to get the behaviour you want.

Regards

Felix

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041109#4041109

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4041109



More information about the jboss-user mailing list