Versions Compared

Key

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

...

Note
titleTODO
  • Define indentation policy with multi-line parameter descriptions.

Method Arguments

Two styles of method parameter declaration are allowed. First style is preferred when all arguments can fit in a single line before the page delimiter (120 char limit).

 

Code Block
java
java
public void foo(Object obj1, Object obj2, Object obj3, ..., Object objN)

If arguments can't fit to single line, arguments are splitted by 120 char limit to several lines. 


Second style requires new line for every argument.

Code Block
java
java
public void foo(
 Object obj1,
 Object obj2, 
 ... ,
 Object objN
)
 

Mixing declartaion styles is not allowed.

Spacing

Source code has special spacing rules (mostly inherited from Sun's Java source code guidelines and mentioned here for better clarity).

...