[infinispan-issues] [JBoss JIRA] (ISPN-4098) DataContainer Equivalence is not used properly

William Burns (JIRA) issues at jboss.org
Wed Mar 12 08:21:11 EDT 2014


William Burns created ISPN-4098:
-----------------------------------

             Summary: DataContainer Equivalence is not used properly
                 Key: ISPN-4098
                 URL: https://issues.jboss.org/browse/ISPN-4098
             Project: Infinispan
          Issue Type: Bug
          Components: Core
    Affects Versions: 7.0.0.Alpha1
            Reporter: William Burns
            Assignee: Dan Berindei


The DefaultDataContainer uses an EquivalentHashMap under the scenes.  The values() method doesn't return a collection that obeys the value Equivalence however.  Also to note the provided value equivalence would have to be wrapped with an Equivalence for ICE to be used properly as shown with the new typing changes in ISPN-4079.

Also to note any users of DataContainer values, keySet methods would have to also use the proper equivalence.  An example is the KeySetCommand, ValuesCommand and EntrySetCommand should obey these Equivalences.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the infinispan-issues mailing list