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 19:01:53 UTC

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

     [ https://issues.apache.org/jira/browse/ACCUMULO-1626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Keith Turner resolved ACCUMULO-1626.
------------------------------------

    Resolution: Fixed
      Assignee: Keith Turner
    
> 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.4.0, 1.5.0
>            Reporter: Keith Turner
>            Assignee: 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