Get involved in jDigg

Code Conventions

jDigg has some code conventions:

  • please follow these conventions: Code Conventions for the Java Programming Language
  • indentation is 4 spaces per indent (no tabs please)
  • maximum line length is 120 characters
  • please use checkstyle to test your coding (checkstyle.xml config is included in the sources)
  • every source file should include the license information (Apache License, Version 2.0)

Comitting Sources to SVN

When you commit sources to SVN please consider the following points:

  • Write a JUnit test for your code (change, fix).
  • Do not commit broken code (use Maven to run all tests).
  • Do not commit code changes together with formatting changes. Please use separate commits.