Skip to content
kendzi edited this page Nov 1, 2014 · 2 revisions

Code standards

  • Please don't format files without need
  • Use correct java formatter
  • Don't use tabs, always use 4 spaces!
  • Check code using Sonar/Checkstyle/Findbug and correct obvious issues
  • Before commit any path, please format it using correct formatter settings. Current formatter can be found under that link. Add it to eclipse by:
Windows > Preferences > Java > Code Style > Formatter > Import...
  • Use save action to clean up code
Windows > Preferences > Java > Editor > Save Actions:
- Format source code > Fromat edited lines
- Organize imports
Clone this wiki locally