[infinispan-issues] [JBoss JIRA] (ISPN-2996) ApplyDeltaCommand.getAffectedKeys() and ApplyDeltaCommand.getKey() do not return the expected key

Adrian Nistor (JIRA) jira-events at lists.jboss.org
Fri Apr 5 04:44:42 EDT 2013


     [ https://issues.jboss.org/browse/ISPN-2996?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adrian Nistor reassigned ISPN-2996:
-----------------------------------

    Assignee: Adrian Nistor  (was: Mircea Markus)

    
> ApplyDeltaCommand.getAffectedKeys() and ApplyDeltaCommand.getKey() do not return the expected key
> -------------------------------------------------------------------------------------------------
>
>                 Key: ISPN-2996
>                 URL: https://issues.jboss.org/browse/ISPN-2996
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Core API
>    Affects Versions: 5.2.5.Final
>            Reporter: Adrian Nistor
>            Assignee: Adrian Nistor
>             Fix For: 5.3.0.Final
>
>
> These methods should return the map key but null is returned instead because the super constructor is not invoked correctly.
> See discussion on infinispan dev list here:  http://markmail.org/message/dkoughqngztmxvuy
> This class could also be simplified a bit by removing the field deltaAwareValueKey which duplicates the key field of the base class.
> Also since keys are non-null (asserted by constructor) the equals() and hashCode() methods can be simplified by removing the null checks. 

--
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