Author: tfischer
Date: Sat Nov 11 03:43:06 2006
New Revision: 473697
URL: http://svn.apache.org/viewvc?view=rev&rev=473697
Log:
Changed checkstyle configuration
- removed AvoidNestedBlocks rule
- restricted HiddenFiled rule to local Variables
- removed ignoring of line 6 in the license header
Modified:
db/torque/common/trunk/turbine-checkstyle.xml
Modified: db/torque/common/trunk/turbine-checkstyle.xml
URL:
http://svn.apache.org/viewvc/db/torque/common/trunk/turbine-checkstyle.xml?view=diff&rev=473697&r1=473696&r2=473697
==============================================================================
--- db/torque/common/trunk/turbine-checkstyle.xml (original)
+++ db/torque/common/trunk/turbine-checkstyle.xml Sat Nov 11 03:43:06 2006
@@ -121,7 +121,7 @@
<!-- the ${basedir} property to allow Checkstyle to be run -->
<!-- from any directory within a project. -->
<property name="headerFile" value="${checkstyle.header.file}"/>
- <property name="ignoreLines" value="1,6"/>
+ <property name="ignoreLines" value="1"/>
</module>
<!-- Following interprets the header file as regular expressions. -->
@@ -163,9 +163,7 @@
<!-- Checks for blocks. You know, those {}'s -->
<!-- See http://checkstyle.sf.net/config_blocks.html -->
- <module name="AvoidNestedBlocks"/>
<module name="EmptyBlock"/>
-
<module name="NeedBraces"/>
@@ -175,7 +173,9 @@
<module name="EmptyStatement"/>
<module name="EqualsHashCode"/>
<module name="FallThrough"/>
- <module name="HiddenField"/>
+ <module name="HiddenField">
+ <property name="tokens" value="VARIABLE_DEF"/>
+ </module>
<module name="IllegalInstantiation"/>
<module name="InnerAssignment"/>
<module name="MagicNumber"/>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]