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 2009/08/03 17:27:25 UTC

[Cassandra Wiki] Update of "CodeStyle" by JonathanEllis

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for change notification.

The following page has been changed by JonathanEllis:
http://wiki.apache.org/cassandra/CodeStyle

------------------------------------------------------------------------------
   * The Cassandra project follows Sun's Java coding conventions (http://java.sun.com/docs/codeconv/html/CodeConvTOC.doc.html) with an important exception:
     * { and } are always placed on a new line
   * Please make sure to use 4 spaces instead of the tab character for all your indentation
+ 
+ == Multiline statements ==
+ 
+  * Try to keep lines under 120 characters, but use good judgement -- it's better to exceed 120 by a little, than split a line that has no natural splitting points.
+  * When splitting inside a method call, use one line per parameter.
  
  == Private_ _Members and Underscores  ==