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

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

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)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: