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

Document the rules for handling null values in the Equivalence interface

    XMLWordPrintable

Details

    • Task
    • Resolution: Won't Do
    • Major
    • None
    • 6.0.0.Final
    • Core
    • None

    Description

      AnyEquivalence.equals(null, null) returns false, and ByteArrayEquivalence.equals(null, null) returns true.

      I think ByteArrayEquivalence is correct, and the Equivalence.equals() javadoc should specify that two null values should be equal.

      Attachments

        Activity

          People

            rh-ee-galder Galder ZamarreƱo
            dberinde@redhat.com Dan Berindei (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: