You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "gabriele renzi (JIRA)" <ji...@apache.org> on 2009/12/25 10:59:31 UTC

[jira] Updated: (CASSANDRA-654) Type parameter hides surrounding type parameter in CacheTable.CacheableObject

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

gabriele renzi updated CASSANDRA-654:
-------------------------------------

    Attachment: CASSANDRA-654.patch

> Type parameter hides surrounding type parameter in CacheTable<k,v>.CacheableObject<v>
> -------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-654
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-654
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: gabriele renzi
>            Priority: Trivial
>         Attachments: CASSANDRA-654.patch
>
>   Original Estimate: 0.17h
>  Remaining Estimate: 0.17h
>
> this seems just a misuses of generics. As a CachableObject is only supposed to be used inside a ggeneric-instantiated Cachetable the additiona type parameter is useless. Also, the patche renames a constant which uses the member-variable convention, and adds a couple @override  annotations to remove warnings. 

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