Reimplement equals and override hashCode to match equals
Authored by: hotzst 2009-08-16
Parent: [r1925]
Child: [r1927]