commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pste...@apache.org
Subject svn commit: r491748 - /jakarta/commons/proper/dbcp/trunk/checkstyle.xml
Date Tue, 02 Jan 2007 05:27:42 GMT
Author: psteitz
Date: Mon Jan  1 21:27:41 2007
New Revision: 491748

URL: http://svn.apache.org/viewvc?view=rev&rev=491748
Log:
Suspended some checks.

Modified:
    jakarta/commons/proper/dbcp/trunk/checkstyle.xml

Modified: jakarta/commons/proper/dbcp/trunk/checkstyle.xml
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/dbcp/trunk/checkstyle.xml?view=diff&rev=491748&r1=491747&r2=491748
==============================================================================
--- jakarta/commons/proper/dbcp/trunk/checkstyle.xml (original)
+++ jakarta/commons/proper/dbcp/trunk/checkstyle.xml Mon Jan  1 21:27:41 2007
@@ -46,21 +46,19 @@
         <!-- ************************************************************** -->
   
         <property name="tabWidth" value="4"/>
+        <!-- suspend formatting checks, for now
         <module name="LeftCurly">
           <property name="option" value="eol"/>
         </module>
-        <!--
         <module name="RightCurly">
          <property name="option" value="alone"/>
         </module>
-        -->
         <module name="LineLength">
           <property name="max" value="132"/>
         </module>
         <module name="MethodLength">
           <property name="max" value="175"/>
         </module>
-        <!-- No Paren pad check
         <module name="ParenPad"/>
         -->
         <module name="ConstantName">
@@ -75,13 +73,21 @@
         <!-- See http://checkstyle.sf.net/config_javadoc.html -->
         <module name="JavadocMethod">
           <property name="scope" value="protected"/>
+          <property name="allowUndeclaredRTE" value="true"/>
+          <!-- very loose, for now -->
+          <property name="allowMissingReturnTag" value="true"/>
+          <property name="allowMissingParamTags" value="true"/>
+          <property name="allowMissingJavadoc" value="true"/>
+          <property name="allowMissingThrowsTags" value="true"/>
         </module>
         <module name="JavadocType">
           <property name="scope" value="protected"/>
         </module>
+        <!-- 
         <module name="JavadocVariable">
           <property name="scope" value="protected"/>
         </module>
+        -->
 
         <!-- Checks for Naming Conventions.                  -->
         <!-- See http://checkstyle.sf.net/config_naming.html -->
@@ -110,7 +116,10 @@
         <!-- Checks for Size Violations.                    -->
         <!-- See http://checkstyle.sf.net/config_sizes.html -->
         <module name="FileLength"/>
+        
+        <!-- Suspend, for now
         <module name="ParameterNumber"/>
+        -->
 
         <!-- Checks for whitespace                               -->
         <!-- See http://checkstyle.sf.net/config_whitespace.html -->
@@ -135,15 +144,17 @@
 
         <!-- Checks for blocks. You know, those {}'s         -->
         <!-- See http://checkstyle.sf.net/config_blocks.html -->
-        <module name="AvoidNestedBlocks"/>
         <!--
-        <module name="EmptyBlock"/> 
-        -->     
+        <module name="AvoidNestedBlocks"/>
+        <module name="EmptyBlock"/>      
         <module name="NeedBraces"/>
+        -->
 
         <!-- Checks for common coding problems               -->
         <!-- See http://checkstyle.sf.net/config_coding.html -->
+        <!--
         <module name="AvoidInlineConditionals"/>
+        -->
         <module name="DoubleCheckedLocking"/>
         <module name="EmptyStatement"/>
         <module name="EqualsHashCode"/>
@@ -157,11 +168,13 @@
         -->
         <module name="MissingSwitchDefault"/>
         <module name="RedundantThrows">
-            <property name="allowUnchecked" value="true"/>   <!-- DISABLED -->
-            <property name="allowSubclasses" value="true"/>   <!-- DISABLED -->
+            <property name="allowUnchecked" value="true"/>   
+            <property name="allowSubclasses" value="true"/> 
         </module>
+        <!--
         <module name="SimplifyBooleanExpression"/>
         <module name="SimplifyBooleanReturn"/>
+        -->
 
         <!-- Checks for class design                         -->
         <!-- See http://checkstyle.sf.net/config_design.html -->



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message