You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Code Style (DRAFT)

This page is the place where we collect and evaluate code style rules for Commons. The goal is to use this document as a base for a Commons wide Checkstyle configuration, and perhaps templates for IDE's as well.

Feel free to add new rules to the table below. The rules will be tagged, now or later, on its severity. The proposed tags are:

  • info - Follow this if you like. If you don't it's no big deal
  • warning - You should consider following this rule
  • error - This must must be fixed before the next release

Rules

Severity

No tabs allowed in source files

error

Imports: No wildcards

error

Imports: Order by groups: java, javax, org, com

warning

Imports: Order in alphabetical order with a group

warning

Add your rule here

warning

  • No labels