cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Brosius (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CASSANDRA-1844) [patch] equal objects should have equal hashcodes
Date Sat, 11 Dec 2010 20:06:01 GMT

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

Dave Brosius updated CASSANDRA-1844:
------------------------------------

    Attachment: hc.diff

> [patch] equal objects should have equal hashcodes
> -------------------------------------------------
>
>                 Key: CASSANDRA-1844
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1844
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Dave Brosius
>            Priority: Trivial
>         Attachments: hc.diff
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> KSMetaData should define hashCode, as it defines equals.
> Also instanceof does null checking so don't need the null check for equals.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message