accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-2892) QCMutation defines equals but not hashcode
Date Sun, 05 Apr 2015 04:51:33 GMT

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

Josh Elser commented on ACCUMULO-2892:
--------------------------------------

*ping* [~kturner].

> 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.6.3, 1.8.0, 1.7.1
>
>
> 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)

Mime
View raw message