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

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

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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.

              anistor Adrian Nistor (Inactive)
              anistor Adrian Nistor (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: