accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-1626) Mutation equals() method does not always work
Date Wed, 31 Jul 2013 16:53:50 GMT

    [ https://issues.apache.org/jira/browse/ACCUMULO-1626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13725410#comment-13725410
] 

ASF subversion and git services commented on ACCUMULO-1626:
-----------------------------------------------------------

Commit acc4fd16f6390579c82e9635a3fa614f3822bfba in branch refs/heads/master 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

Mime
View raw message