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 PavelYaskevich
Date Thu, 10 Feb 2011 17:20:30 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 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 ==

Mime
View raw message