Details
-
Improvement
-
Status: Resolved
-
Low
-
Resolution: Fixed
-
None
-
None
Description
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();