You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Michael Greene (JIRA)" <ji...@apache.org> on 2009/08/11 23:32:15 UTC

[jira] Updated: (CASSANDRA-273) Collection of smalls improvements

     [ https://issues.apache.org/jira/browse/CASSANDRA-273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Greene updated CASSANDRA-273:
-------------------------------------

    Component/s: Core

> Collection of smalls improvements
> ---------------------------------
>
>                 Key: CASSANDRA-273
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-273
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Edward Ribeiro
>            Assignee: Edward Ribeiro
>            Priority: Minor
>             Fix For: 0.4
>
>         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.