Coding Conventions

We are loosely following the Oracle Code Conventions for the Java Programming Language.

Selection of rules:

  • The code should be properly indented.

  • Spaces should be used for for indentation (not tabs). The IDEs can be configured to use spaces.

  • Opening curly brackets, {, should not be on their own line. Example:

    if (true) {
  • First sentence in JavaDoc should end with a period: .