poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yegor Kozlov <yegor.koz...@dinom.ru>
Subject Re: Code style
Date Mon, 20 Jun 2011 07:43:37 GMT
It's supposed to be the standard code conventions for the Java Language:

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.


To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org

View raw message