[
https://issues.apache.org/jira/browse/CASSANDRA-1795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jonathan Ellis resolved CASSANDRA-1795.
---------------------------------------
Resolution: Fixed
Fix Version/s: 0.7.0
Reviewer: jbellis
Assignee: Dave Brosius
committed, thanks!
> [patch] avoid unnecessary use of synchronized collection for non escaped
> local varables
> ---------------------------------------------------------------------------------------
>
> Key: CASSANDRA-1795
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1795
> Project: Cassandra
> Issue Type: Improvement
> Environment: ubuntu jdk1..6.17 ant 1.8
> Reporter: Dave Brosius
> Assignee: Dave Brosius
> Priority: Trivial
> Fix For: 0.7.0
>
> Attachments: avoid_local_sync_collections.diff
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> code uses a Hashtable even tho the collection is a local variable that is not
> escaped from the method. The synchronization is not needed, switch to HashMap.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.