You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Dave Brosius (JIRA)" <ji...@apache.org> on 2010/12/11 21:04:01 UTC

[jira] Created: (CASSANDRA-1844) [patch] equal objects should have equal hashcodes

[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


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.


[jira] Commented: (CASSANDRA-1844) [patch] equal objects should have equal hashcodes

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-1844?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12971366#action_12971366 ] 

Hudson commented on CASSANDRA-1844:
-----------------------------------

Integrated in Cassandra-0.7 #79 (See [https://hudson.apache.org/hudson/job/Cassandra-0.7/79/])
    add KSMetaData.hashcode
patch by Dave Brosius; reviewed by jbellis for CASSANDRA-1844


> [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
>            Assignee: Dave Brosius
>            Priority: Trivial
>             Fix For: 0.7.0
>
>         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.


[jira] Resolved: (CASSANDRA-1844) [patch] equal objects should have equal hashcodes

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-1844?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis resolved CASSANDRA-1844.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 0.7.0
         Reviewer: jbellis
         Assignee: Dave Brosius

committed, thanks!

> [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
>            Assignee: Dave Brosius
>            Priority: Trivial
>             Fix For: 0.7.0
>
>         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.


[jira] Updated: (CASSANDRA-1844) [patch] equal objects should have equal hashcodes

Posted by "Dave Brosius (JIRA)" <ji...@apache.org>.
     [ 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.