You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2013/07/31 17:49:48 UTC
[jira] [Commented] (ACCUMULO-1626) Mutation equals() method does
not always work
[ https://issues.apache.org/jira/browse/ACCUMULO-1626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13725360#comment-13725360 ]
ASF subversion and git services commented on ACCUMULO-1626:
-----------------------------------------------------------
Commit acc4fd16f6390579c82e9635a3fa614f3822bfba in branch refs/heads/1.4.4-SNAPSHOT from [~kturner]
[ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=acc4fd1 ]
ACCUMULO-1626 fixed equals method in mutation
> 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
> 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