You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Edward Ribeiro (JIRA)" <ji...@apache.org> on 2009/06/14 16:20:07 UTC
[jira] Commented: (CASSANDRA-199) Row.columnFamilies_ is
initialized to Hashtable in one place, HashMap in another
[ https://issues.apache.org/jira/browse/CASSANDRA-199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12719271#action_12719271 ]
Edward Ribeiro commented on CASSANDRA-199:
------------------------------------------
I don't think so.
Hashtable is a legacy class and it's advised to use Collections.synchronizedMap(new HashMap()) instead. Furthermore, the only reason to use a synchronized Map is concurrency control (it's the case here?).
+1 to replace Hashtable for HashMap.
> Row.columnFamilies_ is initialized to Hashtable in one place, HashMap in another
> --------------------------------------------------------------------------------
>
> Key: CASSANDRA-199
> URL: https://issues.apache.org/jira/browse/CASSANDRA-199
> Project: Cassandra
> Issue Type: Bug
> Reporter: Jonathan Ellis
>
> which is right?
> note that this behavior dates to the initial import into apache svn.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.