Development Style Guide for Java
Our system requirements are Java 1.5.
We restrict ourselves to syntax and API of this Java version.
- We format our TODO comments as // TODO:date:user:text
// TODO:2009-09-15:christianhujer:Implement OPTIONS, TRACE, forbid CONNECT
We use Checkstyle (see ) to ensure that our Java code formatting conforms to the SUN coding standard.
Call 'ant' from the command-line before you check-in. Do not check in code as long as it finds issues. This will ensure the quality of your new code.
Ant (without any parameters) will verify the following:
- compile everything
- verify formatting style (CheckStyle)
- perform unit tests