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