-
Enhancement
-
Resolution: Done
-
Major
-
1.3.3.Final
-
None
The current generated implementations of equals and hashCode (in FORGE-995) do not delegate to the super class of the object. This should be done for all types whose immediate super classes are not Object.
Additionally, primitive types like float and double need to be treated differently for both equals and hashCode implementations, while boolean and long need to be treated differently for hashCode implementations.
Arrays also need to be considered for both equals and hashCode implementations.
- is related to
-
FORGE-1008 Support generation of equals and hashCode methods in nested types
- Open
- relates to
-
FORGE-995 The generated hashcode() and equals() methods should not reference the hardcoded 'id' field
- Closed