]
Ben Wang resolved JBCACHE-765.
------------------------------
Fix Version/s: 1.4.0.SP2
Resolution: Done
Niztan, thanks!
implementation of equals() in collections is incorrect
------------------------------------------------------
Key: JBCACHE-765
URL:
http://jira.jboss.com/jira/browse/JBCACHE-765
Project: JBoss Cache
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: PojoCache
Reporter: Nitzan Niv
Assigned To: Ben Wang
Fix For: 1.4.0.SP2, 2.0.0
Attachments: CachedListAbstract.java, CachedListAbstract.java,
CachedMapImpl.java, CachedMapImpl.java
The implementation of equals() is in PojoCache collections (List, Map) is incorrect
(inconsistent with the List and Map interfaces behavior):
In Map, equals() returns true for two maps that have the same keys but different mapping
(e.g., map1 = ["ID", "1"], map2 = "ID", "2"]).
In List, equals() returns true for two lists that have the same elements but in a
different order (e.g., list1 = [1][2], list2 = [2][1]).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: