Tuesday, December 15, 2009

Maven Checkstyle code

Use "mvn checkstyle:checkstyle"



------------------------------------------------
How to configure More than 7 parameters.





------------------------------------------------
Redundant 'public' modifier.

Remove:


------------------------------------------------
'cast' is not followed by whitespace.
















------------------------------------------------
interfaces should describe a type and hence have methods.

Use suppression:





------------------------------------------------



Google search: VARIABLE_DEF site:http://downloads.atlassian.com/software/clover/samples/checkstyle/com/puppycrawl/tools

No comments: