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 2011/02/10 18:20:30 UTC

[Cassandra Wiki] Update of "CodeStyle" by PavelYaskevich

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 PavelYaskevich.
http://wiki.apache.org/cassandra/CodeStyle?action=diff&rev1=18&rev2=19

--------------------------------------------------

   * 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();
+                               ? doFoo()
                                : doBar();
  }}}
  == Private_ _Members and Underscores ==