Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.90.1
-
None
-
None
-
Any (discovered in Ubuntu 10.10 using TRUNK).
-
Reviewed
-
Pair now does a deep equals on arrays, rather than a shallow, pointer compare.
Description
Pair does not deep check arrays for equality. It merely does x.equals for the sent Object. However, with any type of array this is merely going to compare the array pointers, rather than the underlying data structure.
It requires a rewriting of the private equals method in Pair to check for elements being an array, then checking the underlying elements.
Attachments
Attachments
Issue Links
- is related to
-
HBASE-3644 HServerAddress Violates Equivalence Relations
- Closed