cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward Ribeiro (JIRA)" <>
Subject [jira] Created: (CASSANDRA-273) Collection of smalls improvements
Date Sat, 04 Jul 2009 02:36:47 GMT
Collection of smalls improvements

                 Key: CASSANDRA-273
             Project: Cassandra
          Issue Type: Improvement
            Reporter: Edward Ribeiro
            Priority: Minor

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.

View raw message