poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allison, Timothy B." <talli...@mitre.org>
Subject style guidelines?
Date Thu, 28 May 2015 19:36:26 GMT
Hi All,

As ongoing penance for my regrettable past (really it is behind me...I hope...), I'd like
to start cleaning up some of the code whenever I come across style issues.  I'll follow the
guidance of fixing whitespace in separate patches from content patches.

I found this:
https://poi.apache.org/resolutions/res001.html

and this:
https://poi.apache.org/guidelines.html#CodeStyle 

Basic questions:
1) spaces are we aiming for four spaces?
2) brace spacing, I'm assuming ) {  ..with one space and not put into next line.
3) new lines: lf
4) don't use wildcards on imports

5) Import order:
static
NEWLINE
java
NEWLINE
javax
NEWLINE
Everything else

This about right?  Other issues/points?

Cheers,

            Tim

P.S. Nick, thank you for your recent superb "welcome to developing with POI" email.

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

Mime
View raw message