commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1326026 - /commons/proper/pool/trunk/checkstyle.xml
Date Sat, 14 Apr 2012 00:11:01 GMT
Author: sebb
Date: Sat Apr 14 00:11:01 2012
New Revision: 1326026

URL: http://svn.apache.org/viewvc?rev=1326026&view=rev
Log:
Reduce checkstyle severity

Modified:
    commons/proper/pool/trunk/checkstyle.xml

Modified: commons/proper/pool/trunk/checkstyle.xml
URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/checkstyle.xml?rev=1326026&r1=1326025&r2=1326026&view=diff
==============================================================================
--- commons/proper/pool/trunk/checkstyle.xml (original)
+++ commons/proper/pool/trunk/checkstyle.xml Sat Apr 14 00:11:01 2012
@@ -55,7 +55,9 @@
     </module>
         
     <!-- Require field javadoc -->
-    <module name="JavadocVariable"/>
+    <module name="JavadocVariable">
+      <property name="scope" value="protected"/>
+    </module>
         
     <!-- No public fields -->
     <module name="VisibilityModifier">
@@ -75,8 +77,11 @@
 
   </module>
   
-  <!-- Require package javadoc -->
-  <module name="JavadocPackage"/>
+  <!-- Require package Javadoc -->
+  <module name="JavadocPackage">
+    <!-- setting allowLegacy means it will check for package.html instead of just package-info.java
-->
+    <property name="allowLegacy" value="true"/>
+  </module>
 
   <!-- Setup special comments to suppress specific checks from source files -->
   <module name="SuppressionCommentFilter">



Mime
View raw message