You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Keith Turner (JIRA)" <ji...@apache.org> on 2013/07/31 17:45:49 UTC

[jira] [Created] (ACCUMULO-1626) Mutation equals() method does not always work

Keith Turner created ACCUMULO-1626:
--------------------------------------

             Summary: Mutation equals() method does not always work
                 Key: ACCUMULO-1626
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1626
             Project: Accumulo
          Issue Type: Bug
    Affects Versions: 1.5.0, 1.4.0
            Reporter: Keith Turner
             Fix For: 1.4.4, 1.5.1, 1.6.0


Mutations has a equals() method, but it only works if hashcode() is called first on the two mutations.  So equals() will work ok in hash sets and maps, but not when equals() is called w/o calling hashcode().

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