db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tfisc...@apache.org
Subject svn commit: r473697 - /db/torque/common/trunk/turbine-checkstyle.xml
Date Sat, 11 Nov 2006 11:43:06 GMT
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: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message