You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by ps...@apache.org on 2006/12/04 03:18:53 UTC

svn commit: r482014 - /jakarta/commons/proper/dbcp/trunk/checkstyle.xml

Author: psteitz
Date: Sun Dec  3 18:18:52 2006
New Revision: 482014

URL: http://svn.apache.org/viewvc?view=rev&rev=482014
Log:
Commented out some checks, eliminated license check - leave that to the RAT.

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=482014&r1=482013&r2=482014
==============================================================================
--- jakarta/commons/proper/dbcp/trunk/checkstyle.xml (original)
+++ jakarta/commons/proper/dbcp/trunk/checkstyle.xml Sun Dec  3 18:18:52 2006
@@ -44,17 +44,16 @@
         <!-- ************************************************************** -->
         <!-- Checks that are different from the sun coding conventions ones -->
         <!-- ************************************************************** -->
-        <module name="Header">
-            <property name="headerFile" value="${basedir}/LICENSE.txt"/>
-            <property name="ignoreLines" value="2,3,4,10"/>
-        </module>
+  
         <property name="tabWidth" value="4"/>
         <module name="LeftCurly">
           <property name="option" value="eol"/>
         </module>
+        <!--
         <module name="RightCurly">
-          <property name="option" value="alone"/>
+         <property name="option" value="alone"/>
         </module>
+        -->
         <module name="LineLength">
           <property name="max" value="132"/>
         </module>
@@ -74,21 +73,32 @@
 
         <!-- Checks for Javadoc comments.                     -->
         <!-- See http://checkstyle.sf.net/config_javadoc.html -->
-        <module name="JavadocMethod"/>
-        <module name="JavadocType"/>
-        <module name="JavadocVariable"/>
-
+        <module name="JavadocMethod">
+          <property name="scope" value="protected"/>
+        </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 -->
         <module name="LocalFinalVariableName"/>
+        <!--
         <module name="LocalVariableName"/>
+        -->
         <module name="MethodName"/>
         <module name="PackageName"/>
         <module name="ParameterName"/>
+        <!--
         <module name="StaticVariableName"/>
+        -->
         <module name="TypeName"/>
+        <!--
         <module name="MemberName"/>
+        -->
 
         <!-- Checks for imports                              -->
         <!-- See http://checkstyle.sf.net/config_import.html -->
@@ -97,48 +107,54 @@
         <module name="RedundantImport"/>
         <module name="UnusedImports"/>
 
-
         <!-- Checks for Size Violations.                    -->
         <!-- See http://checkstyle.sf.net/config_sizes.html -->
         <module name="FileLength"/>
         <module name="ParameterNumber"/>
 
-
         <!-- Checks for whitespace                               -->
         <!-- See http://checkstyle.sf.net/config_whitespace.html -->
         <module name="EmptyForIteratorPad"/>
+        <!--
         <module name="NoWhitespaceAfter"/>
         <module name="NoWhitespaceBefore"/>
         <module name="OperatorWrap"/>
+        -->
         <module name="TabCharacter"/>
+        <!--
         <module name="WhitespaceAfter"/>
         <module name="WhitespaceAround"/>
-
+        -->
 
         <!-- Modifier Checks                                    -->
         <!-- See http://checkstyle.sf.net/config_modifiers.html -->
+        <!--
         <module name="ModifierOrder"/>
         <module name="RedundantModifier"/>
-
+        -->
 
         <!-- Checks for blocks. You know, those {}'s         -->
         <!-- See http://checkstyle.sf.net/config_blocks.html -->
         <module name="AvoidNestedBlocks"/>
-        <module name="EmptyBlock"/>
-        
+        <!--
+        <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"/>
+        <!--
         <module name="HiddenField"/>
+        -->
         <module name="IllegalInstantiation"/>
         <module name="InnerAssignment"/>
+        <!--
         <module name="MagicNumber"/>
+        -->
         <module name="MissingSwitchDefault"/>
         <module name="RedundantThrows">
             <property name="allowUnchecked" value="true"/>   <!-- DISABLED -->
@@ -153,22 +169,25 @@
             <property name="severity" value="ignore"/>   <!-- DISABLED -->
         </module>
         <module name="FinalClass"/>
+        <!--
         <module name="HideUtilityClassConstructor"/>
+        -->
         <module name="InterfaceIsType"/>
+        <!--
         <module name="VisibilityModifier"/>
-
+        -->
 
         <!-- Miscellaneous other checks.                   -->
         <!-- See http://checkstyle.sf.net/config_misc.html -->
+        <!--
         <module name="ArrayTypeStyle"/>
+        -->
         <module name="FinalParameters">
             <property name="severity" value="ignore"/>   <!-- DISABLED -->
         </module>
-        <module name="GenericIllegalRegexp">
-            <property name="format" value="\s+$"/>
-            <property name="message" value="Line has trailing spaces."/>
-        </module>
+        <!--
         <module name="TodoComment"/>
+        -->
         <module name="UpperEll"/>
 
     </module>



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