Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-2996

ApplyDeltaCommand.getAffectedKeys() and ApplyDeltaCommand.getKey() do not return the expected key

    XMLWordPrintable

    Details

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              anistor Nistor Adrian
              Reporter:
              anistor Nistor Adrian
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: