...
Note | ||
---|---|---|
| ||
|
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 | ||||
---|---|---|---|---|
| ||||
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 | ||||
---|---|---|---|---|
| ||||
public void foo(
Object obj1,
Object obj2,
... ,
Object objN
)
|
Mixing declartaion styles is not allowed.
Source code has special spacing rules (mostly inherited from Sun's Java source code guidelines and mentioned here for better clarity).
...