[
https://issues.apache.org/jira/browse/CASSANDRA-8385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14227756#comment-14227756
]
Branimir Lambov commented on CASSANDRA-8385:
--------------------------------------------
Proposed patch is attached, comparison
[here|https://github.com/blambov/cassandra/compare/generics-abstracttype].
Makes {{AbstractType}} and {{CollectionType}} interfaces without a generic
parameter and moves the implementations to {{ConcreteType}} and
{{ConcreteCollectionType}}. This helps clear up a couple of hundred raw types
and unchecked cast warnings. Switches to Guava {{HashBasedTable}} as a
replacement to {{HashMaps}} of pairs for looking up maps.
> Clean up generics in uses of AbstractType
> -----------------------------------------
>
> Key: CASSANDRA-8385
> URL: https://issues.apache.org/jira/browse/CASSANDRA-8385
> Project: Cassandra
> Issue Type: Bug
> Reporter: Branimir Lambov
> Assignee: Branimir Lambov
> Attachments: 8385.patch
>
>
> Almost all uses of AbstractType are from code that doesn't know or care what
> the specific type is and would be better served by a non-generic version of
> the concept.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)