commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1130966 - /commons/proper/pool/trunk/src/java/org/apache/commons/pool2/impl/GenericKeyedObjectPoolConfig.java
Date Fri, 03 Jun 2011 09:47:05 GMT
Author: markt
Date: Fri Jun  3 09:47:05 2011
New Revision: 1130966

URL: http://svn.apache.org/viewvc?rev=1130966&view=rev
Log:
Consistent naming

Modified:
    commons/proper/pool/trunk/src/java/org/apache/commons/pool2/impl/GenericKeyedObjectPoolConfig.java

Modified: commons/proper/pool/trunk/src/java/org/apache/commons/pool2/impl/GenericKeyedObjectPoolConfig.java
URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/java/org/apache/commons/pool2/impl/GenericKeyedObjectPoolConfig.java?rev=1130966&r1=1130965&r2=1130966&view=diff
==============================================================================
--- commons/proper/pool/trunk/src/java/org/apache/commons/pool2/impl/GenericKeyedObjectPoolConfig.java
(original)
+++ commons/proper/pool/trunk/src/java/org/apache/commons/pool2/impl/GenericKeyedObjectPoolConfig.java
Fri Jun  3 09:47:05 2011
@@ -24,17 +24,17 @@ package org.apache.commons.pool2.impl;
  */
 public class GenericKeyedObjectPoolConfig extends GenericObjectPoolConfig {
 
-    public static final int MAX_TOTAL_PER_KEY = 8;
+    public static final int DEFAULT_MAX_TOTAL_PER_KEY = 8;
 
-    public static final int MAX_TOTAL = -1;
+    public static final int DEFAULT_MAX_TOTAL = -1;
 
     
-    private int maxTotalPerKey = MAX_TOTAL_PER_KEY;
+    private int maxTotalPerKey = DEFAULT_MAX_TOTAL_PER_KEY;
     
 
     public GenericKeyedObjectPoolConfig() {
         // Uses a different default for maxTotal
-        setMaxTotal(MAX_TOTAL);
+        setMaxTotal(DEFAULT_MAX_TOTAL);
     }
     
     



Mime
View raw message