commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pste...@apache.org
Subject svn commit: r933024 - in /commons/proper/pool/trunk: checkstyle.xml src/java/org/apache/commons/pool/impl/GenericKeyedObjectPool.java src/java/org/apache/commons/pool/impl/GenericObjectPool.java
Date Sun, 11 Apr 2010 23:48:12 GMT
Author: psteitz
Date: Sun Apr 11 23:48:12 2010
New Revision: 933024

URL: http://svn.apache.org/viewvc?rev=933024&view=rev
Log:
Suppressed checkstyle visibility checks for GOP, GKOP Config classes.

Modified:
    commons/proper/pool/trunk/checkstyle.xml
    commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/GenericKeyedObjectPool.java
    commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/GenericObjectPool.java

Modified: commons/proper/pool/trunk/checkstyle.xml
URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/checkstyle.xml?rev=933024&r1=933023&r2=933024&view=diff
==============================================================================
--- commons/proper/pool/trunk/checkstyle.xml (original)
+++ commons/proper/pool/trunk/checkstyle.xml Sun Apr 11 23:48:12 2010
@@ -83,5 +83,10 @@
     <property name="offCommentFormat" value="CHECKSTYLE\: stop all checks"/>
     <property name="onCommentFormat"  value="CHECKSTYLE\: resume checking"/>
   </module>
+  <module name="SuppressionCommentFilter">
+    <property name="offCommentFormat" value="CHECKSTYLE\: stop VisibilityModifier"/>
+    <property name="onCommentFormat"  value="CHECKSTYLE\: resume VisibilityModifier"/>
+    <property name="checkFormat"      value="VisibilityModifier"/>
+  </module>
 
 </module>

Modified: commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/GenericKeyedObjectPool.java
URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/GenericKeyedObjectPool.java?rev=933024&r1=933023&r2=933024&view=diff
==============================================================================
--- commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/GenericKeyedObjectPool.java
(original)
+++ commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/GenericKeyedObjectPool.java
Sun Apr 11 23:48:12 2010
@@ -2309,6 +2309,7 @@ public class GenericKeyedObjectPool exte
      * @see GenericKeyedObjectPool#setConfig
      */
     public static class Config {
+        //CHECKSTYLE: stop VisibilityModifier
         /**
          * @see GenericKeyedObjectPool#setMaxIdle
          */
@@ -2361,6 +2362,7 @@ public class GenericKeyedObjectPool exte
          * @see GenericKeyedObjectPool#setLifo
          */
         public boolean lifo = GenericKeyedObjectPool.DEFAULT_LIFO;
+        //CHECKSTYLE: resume VisibilityModifier
     }
 
     /**

Modified: commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/GenericObjectPool.java
URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/GenericObjectPool.java?rev=933024&r1=933023&r2=933024&view=diff
==============================================================================
--- commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/GenericObjectPool.java
(original)
+++ commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/GenericObjectPool.java
Sun Apr 11 23:48:12 2010
@@ -1742,6 +1742,7 @@ public class GenericObjectPool extends B
      * @see GenericObjectPool#setConfig
      */
     public static class Config {
+        //CHECKSTYLE: stop VisibilityModifier
         /**
          * @see GenericObjectPool#setMaxIdle
          */
@@ -1794,7 +1795,7 @@ public class GenericObjectPool extends B
          * @see GenericObjectPool#setLifo
          */
         public boolean lifo = GenericObjectPool.DEFAULT_LIFO;
-
+        //CHECKSTYLE: resume VisibilityModifier
     }
 
     /**



Mime
View raw message