General Code Conventions

Exception handling

Boilerplate

Multiline statements

SSTableWriter writer = new SSTableWriter(cfStore.getTempSSTablePath(),
                                         columnFamilies_.size(),
                                         StorageService.getPartitioner());

some_variable_in_this_class = the_user_input_this_variable == null
                              ? doFoo()
                              : doBar();

Private_ _Members and Underscores

public class ExampleStuff
{
    private String foo_; // bad - but it's all over the code. if the file uses this style then keep using that style
    private String _foo; // bad - don't do this
    private String foo;  // more better
}

Whitespace

imports

Please observe the following order for your imports:

format files for IDEs

CodeStyle (last edited 2011-10-13 15:40:13 by JakeLuciani)