Code style
When it comes to source code, it's important to follow conventions so the next developer can read and understand your code easily!
I do follow the google style guidelines.
- Google style guides website: https://code.google.com/p/google-styleguide/
- SVN source files: https://code.google.com/p/google-styleguide/source/browse/trunk
How to use Google style
Download the eclipse-java-google-style.xml
Formatter
- Window → Preferences → Java → Code Style → Formatter
- Import the file by selecting Import