Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Add @deprecated/@since rules

...

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

Indentation: (Java) use 4 spaces

warning

SVN keywords: $Date$ should not be used

warning

Indentation: (POM) prefer 4 spaces, allow 2, but be consistent within a file (1)

info

JavaDoc: @author Tag should not be used

info

JavaDoc: @deprecated Tag must include version where first deprecated, and a link to the replacement (if any)

warning

JavaDoc: @since Tag must be used to document new classes and methods where these form part of the public API

warning

Add your rule here

warning

...