You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@click.apache.org by me...@apache.org on 2009/06/03 16:09:24 UTC

svn commit: r781387 - in /incubator/click/trunk/click/build: build.properties checkstyle-checks.xml

Author: medgar
Date: Wed Jun  3 14:09:24 2009
New Revision: 781387

URL: http://svn.apache.org/viewvc?rev=781387&view=rev
Log:
upgraded checkstyle to 5.0 to support Java 5

Modified:
    incubator/click/trunk/click/build/build.properties
    incubator/click/trunk/click/build/checkstyle-checks.xml

Modified: incubator/click/trunk/click/build/build.properties
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/build/build.properties?rev=781387&r1=781386&r2=781387&view=diff
==============================================================================
--- incubator/click/trunk/click/build/build.properties (original)
+++ incubator/click/trunk/click/build/build.properties Wed Jun  3 14:09:24 2009
@@ -41,7 +41,7 @@
 
 # Third-party library versions
 cayenne.version=3.0M5
-checkstyle.version=4.4
+checkstyle.version=5.0
 commons-codec.version=1.3
 commons-collections.version=3.1
 commons-fileupload.version=1.2.1

Modified: incubator/click/trunk/click/build/checkstyle-checks.xml
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/build/checkstyle-checks.xml?rev=781387&r1=781386&r2=781387&view=diff
==============================================================================
--- incubator/click/trunk/click/build/checkstyle-checks.xml (original)
+++ incubator/click/trunk/click/build/checkstyle-checks.xml Wed Jun  3 14:09:24 2009
@@ -55,12 +55,20 @@
     </module>
 
     <!-- Checks that a package.html file exists for each package.     -->
-    <!-- See http://checkstyle.sf.net/config_javadoc.html#PackageHtml -->
-    <module name="PackageHtml"/>
+    <!-- See http://checkstyle.sourceforge.net/config_javadoc.html#JavadocPackage -->
+    <module name="JavadocPackage">
+    	<property name="allowLegacy" value="true"/>
+    </module>
 
     <!-- Checks whether files end with a new line.                        -->
     <!-- See http://checkstyle.sf.net/config_misc.html#NewlineAtEndOfFile -->
     <module name="NewlineAtEndOfFile"/>
+            
+    <!-- Checks for Size Violations.                    -->
+    <!-- See http://checkstyle.sf.net/config_sizes.html -->
+    <module name="FileLength"/>
+        
+    <module name="FileTabCharacter"/>
 
     <!-- Checks that property files contain the same keys.         -->
     <!-- See http://checkstyle.sf.net/config_misc.html#Translation -->
@@ -80,7 +88,7 @@
         <module name="JavadocVariable">
             <property name="scope" value="protected"/>
         </module>
-        <module name="JavadocStyle"/>
+        <!-- module name="JavadocStyle"/ -->
         
         <!-- Checks for Naming Conventions.                  -->
         <!-- See http://checkstyle.sf.net/config_naming.html -->
@@ -99,10 +107,7 @@
         <module name="IllegalImport"/>
         <module name="RedundantImport"/>
         <module name="UnusedImports"/>
-        
-        <!-- Checks for Size Violations.                    -->
-        <!-- See http://checkstyle.sf.net/config_sizes.html -->
-        <module name="FileLength"/>
+
         <!-- <module name="LineLength">
             <property name="max" value="80"/>
              <property name="ignorePattern" value="^ *\*"/>
@@ -122,7 +127,7 @@
         <module name="OperatorWrap"/>
         <module name="ParenPad"/>
         <module name="TypecastParenPad"/>
-        <module name="TabCharacter"/>
+
         <module name="WhitespaceAfter"/>
         <module name="WhitespaceAround"/>