You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Corey J. Nolet (JIRA)" <ji...@apache.org> on 2014/12/18 04:29:15 UTC

[jira] [Updated] (ACCUMULO-2892) QCMutation defines equals but not hashcode

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

Corey J. Nolet updated ACCUMULO-2892:
-------------------------------------
    Fix Version/s:     (was: 1.6.2)
                   1.6.3

> QCMutation defines equals but not hashcode
> ------------------------------------------
>
>                 Key: ACCUMULO-2892
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2892
>             Project: Accumulo
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 1.6.0
>            Reporter: Mike Drob
>              Labels: findbugs
>             Fix For: 1.7.0, 1.6.3
>
>
> FindBugs output: {{org.apache.accumulo.core.client.impl.ConditionalWriterImpl$QCMutation defines equals but not hashCode}}
> It looks like {{equals}} also depends on {{compareTo}}, which is unsafe. (This equals dependency is fine, but compareTo does an unchecked cast.)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)