You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by se...@apache.org on 2015/07/05 11:48:18 UTC

svn commit: r1689226 - /directory/buildtools/checkstyle-configuration/trunk/src/main/resources/kerby-checks.xml

Author: seelmann
Date: Sun Jul  5 09:48:17 2015
New Revision: 1689226

URL: http://svn.apache.org/r1689226
Log:
Add checkstyle checks for Kerby

Modified:
    directory/buildtools/checkstyle-configuration/trunk/src/main/resources/kerby-checks.xml

Modified: directory/buildtools/checkstyle-configuration/trunk/src/main/resources/kerby-checks.xml
URL: http://svn.apache.org/viewvc/directory/buildtools/checkstyle-configuration/trunk/src/main/resources/kerby-checks.xml?rev=1689226&r1=1689225&r2=1689226&view=diff
==============================================================================
--- directory/buildtools/checkstyle-configuration/trunk/src/main/resources/kerby-checks.xml (original)
+++ directory/buildtools/checkstyle-configuration/trunk/src/main/resources/kerby-checks.xml Sun Jul  5 09:48:17 2015
@@ -55,24 +55,34 @@
         <!-- See http://checkstyle.sf.net/config_naming.html -->
         <module name="ConstantName"/>
         <module name="LocalFinalVariableName"/>
+        <module name="LocalVariableName"/>
         <module name="MemberName"/>
+        <!-- module name="MethodName"/ -->
         <module name="PackageName"/>
+        <module name="ParameterName"/>
         <module name="StaticVariableName"/>
         <module name="TypeName"/>
 
 
         <!-- Checks for imports                              -->
         <!-- See http://checkstyle.sf.net/config_import.html -->
+        <module name="AvoidStarImport"/>
+        <module name="IllegalImport"/> <!-- defaults to sun.* packages -->
         <module name="RedundantImport"/>
         <module name="UnusedImports"/>
 
+
         <!-- Checks for Size Violations.                    -->
         <!-- See http://checkstyle.sf.net/config_sizes.html -->
+        <module name="LineLength">
+            <property name="max" value="120"/>
+            <property name="ignorePattern" value="^ *\* *"/>
+        </module>
         <module name="MethodLength">
-           <property name="max" value="200"/>
+            <property name="max" value="200"/>
         </module>
         <module name="ParameterNumber">
-           <property name="max" value="8"/>
+            <property name="max" value="8"/>
         </module>
 
 
@@ -80,6 +90,13 @@
         <!-- See http://checkstyle.sf.net/config_whitespace.html -->
         <module name="EmptyForIteratorPad"/>
         <module name="MethodParamPad"/>
+        <module name="NoWhitespaceAfter"/>
+        <module name="NoWhitespaceBefore"/>
+        <module name="OperatorWrap"/>
+        <module name="ParenPad"/>
+        <module name="TypecastParenPad"/>
+        <module name="WhitespaceAfter"/>
+        <module name="WhitespaceAround"/>
 
 
         <!-- Modifier Checks                                    -->
@@ -91,10 +108,15 @@
         <!-- Checks for blocks. You know, those {}'s         -->
         <!-- See http://checkstyle.sf.net/config_blocks.html -->
         <module name="AvoidNestedBlocks"/>
+        <module name="EmptyBlock"/>
+        <module name="LeftCurly"/>
+        <module name="NeedBraces"/>
+        <module name="RightCurly"/>
 
 
         <!-- Checks for common coding problems               -->
         <!-- See http://checkstyle.sf.net/config_coding.html -->
+        <!-- module name="AvoidInlineConditionals"/ -->
         <module name="EmptyStatement"/>
         <module name="EqualsHashCode"/>
         <module name="IllegalInstantiation"/>