Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.2.1
-
None
-
None
Description
The ResultSpec impl has an inner class, ToF_Languages. When comparing 2 result specificaitons for equal in test cases, these are compared. But they are missing an equals (and hashCode) methods. So the test case fails to say they're equal unless they're identical. But cloning happens a lot in the way Result specs are used, and in this test, they may be equal (I think) but not ==.
Solution: Add proper equals and hashCode to this inner class.