You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2009/07/04 07:56:47 UTC
[jira] Resolved: (CASSANDRA-273) Collection of smalls improvements
[ https://issues.apache.org/jira/browse/CASSANDRA-273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis resolved CASSANDRA-273.
--------------------------------------
Resolution: Fixed
Assignee: Edward Ribeiro
applied, thanks!
> Collection of smalls improvements
> ---------------------------------
>
> Key: CASSANDRA-273
> URL: https://issues.apache.org/jira/browse/CASSANDRA-273
> Project: Cassandra
> Issue Type: Improvement
> Reporter: Edward Ribeiro
> Assignee: Edward Ribeiro
> Priority: Minor
> Attachments: CASSANDRA-273.patch
>
>
> I took some time to apply a series of small code improvements. Follow below:
> 1) Replace System.getProperty("file.separator") by File.separator (this ensures type safety)
> 2) Replace StringBuffer by StringBuilder because StringBuffer is thread safe and has been used in places that don't need to be thread-safe
> 3) In the CasssandraServer class replace the Arrays.asList() by Collections.emptyList();
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.