cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CASSANDRA-654) Type parameter hides surrounding type parameter in CacheTable<k,v>.CacheableObject<v>
Date Sat, 26 Dec 2009 12:36:29 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12794607#action_12794607
] 

Hudson commented on CASSANDRA-654:
----------------------------------

Integrated in Cassandra #304 (See [http://hudson.zones.apache.org/hudson/job/Cassandra/304/])
    clean up generics, formatting of Cachetable.  patch by gabriele renzi; reviewed by jbellis
for 


> 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
>            Assignee: gabriele renzi
>            Priority: Trivial
>             Fix For: 0.9
>
>         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.


Mime
View raw message