Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Between lines in continues comments (/ /' or //) that span more then one line.
  • Between import statements.
  • After { and } brackets.
  • Between Javadocs tags in the comment.
  • Between code comment and corresponding code line.
  • Between Javadocs comment // and corresponding element (type, method, initializer, or variable).
  • Between one-line case statements in switch operator.
  • Between identical (similar) language constructs, i.e. identical (similar) method calls or operations, e.g. multiple setter or getter calls can be grouped together without empty lines between them.

Whitespaces

Source code line should not be longer then 120 characters (to be visible on most conventional monitors). 4 space characters should be used for tabulation and indentation. IDE should be configured to replace tabulation with spaces (to properly see source code on the platforms with different tabulation sizes).

...