It's supposed to be the standard code conventions for the Java Language:
http://www.oracle.com/technetwork/java/codeconv-138413.html

I would say that the following three rules should be used consistently
in all the source code:

1. Indentation:     Always use 4 space indents and never use tabs!
2. White space: One space after control statements and between
arguments (i.e. if ( foo ) instead of if(foo)), myFunc( foo, bar, baz
) instead of myFunc(foo,bar,baz)).
3. Blocks:           Always enclose with a new line brace.

Eclipse / IntelliJ Idea have built-in code formatters that mostly
follow the above rules.

Yegor

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

  • Code style Sergey Vladimirov
    • Re: Code style Yegor Kozlov

Reply via email to