Skip to main content
Skip table of contents

Coding Conventions

SignServer loosely follows 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 brace, {, should not be on its own line. Example:

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

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.