Code Styles
There isn't a code style that needs to be followed as long as it is consistent, can be checked in checkstyle, can be formatted in Eclipse, IDEA and NetBeans. And the following rules must be followed:
- Use spaces, not tabs
- 4 spaces for Java
- 2 spaces for XML
- 120 column wrap, not 80.
- Wrap on spaces, not on '.' in a method call
Reference:
http://www.nabble.com/Re%3A-What-do-we-need-to-establish--p17167235.html