cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Cassandra Wiki] Update of "CodeStyle" by JonHermes
Date Wed, 13 Oct 2010 19:22:26 GMT
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

Mime
View raw message