You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by Apache Wiki <wi...@apache.org> on 2010/10/13 21:22:26 UTC
[Cassandra Wiki] Update of "CodeStyle" by JonHermes
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for change notification.
The "CodeStyle" page has been changed by JonHermes.
http://wiki.apache.org/cassandra/CodeStyle?action=diff&rev1=17&rev2=18
--------------------------------------------------
SSTableWriter writer = new SSTableWriter(cfStore.getTempSSTablePath(),
columnFamilies_.size(),
StorageService.getPartitioner());
+ }}}
+ * When splitting a ternary, use one line per clause, carry the operator, and align like this:
+ {{{
+ some_variable_in_this_class = the_user_input_this_variable == null
+ ? doFoo();
+ : doBar();
}}}
== Private_ _Members and Underscores ==
* The goal is to not have an "_" character appended or prepended to private variables' names