Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.4.2SDK
-
None
Description
The logic is flawed. Example 1: if cas1's viewname and cas2's viewname are both null (could be both base CASes, I think), then it returns the result of null == null because it's comparing the viewnames (null strings) instead of the base CASes themselves.
The tests further may fail if the CAS is wrapped. May need to use "equals" instead of == , but need to check the default impl of this.