[FOray-commit] SF.net SVN: foray: [7902] trunk/foray/scripts/checkstyle-config.xml
Modular XSL-FO Implementation for Java.
Status: Alpha
Brought to you by:
victormote
|
From: <vic...@us...> - 2006-09-05 01:14:37
|
Revision: 7902
http://svn.sourceforge.net/foray/?rev=7902&view=rev
Author: victormote
Date: 2006-09-04 18:14:34 -0700 (Mon, 04 Sep 2006)
Log Message:
-----------
Add new checkstyle checks.
Modified Paths:
--------------
trunk/foray/scripts/checkstyle-config.xml
Modified: trunk/foray/scripts/checkstyle-config.xml
===================================================================
--- trunk/foray/scripts/checkstyle-config.xml 2006-09-05 01:14:15 UTC (rev 7901)
+++ trunk/foray/scripts/checkstyle-config.xml 2006-09-05 01:14:34 UTC (rev 7902)
@@ -44,10 +44,25 @@
<module name="FinalLocalVariable">
<property name="tokens" value="VARIABLE_DEF,PARAMETER_DEF"/>
</module>
+ <module name="StringLiteralEquality"/>
<!-- Make sure each Type has javadoc, regardless of visibility -->
<module name="JavadocType"/>
+ <!-- Avoid magic numbers. -->
+ <!--<module name="MagicNumber"/>-->
+
+ <!-- Avoid redundant and unused imports. -->
+ <module name="RedundantImport"/>
+ <!--<module name="UnusedImports"/>-->
+
+ <!-- Don't allow non-private instance variables. -->
+ <!--<module name="VisibilityModifier"/>-->
+
+ <!-- Check the order and redundancy of modifiers. -->
+ <module name="ModifierOrder"/>
+ <module name="RedundantModifier"/>
+
</module>
<!-- Make sure each package has javadoc package.html -->
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|