Skip to content

Coding Style

Code Guru edited this page Nov 30, 2013 · 2 revisions

Contributors are required to follow the coding conventions suggested by Sun/Oracle. Any emphasis and exceptions will be listed here. In general, use the existing code as an example to maintain consistent formatting. If you have any questions, please ask on the mailing list.

Whitespace:

  • Use 4 spaces for each indentation level. Absolutely no tabs.
  • Use LF for line endings.
  • No trailing whitespace, including blank lines.

Formatting:

  • Place opening curly braces on the end of the line proceeding the block of code.
  • Place closing curly braces on a new line.

To Do: Flesh this out.