commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sandy...@apache.org
Subject svn commit: r390579 - /jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/StackObjectPoolFactory.java
Date Sat, 01 Apr 2006 03:09:42 GMT
Author: sandymac
Date: Fri Mar 31 19:09:41 2006
New Revision: 390579

URL: http://svn.apache.org/viewcvs?rev=390579&view=rev
Log:
Self descriptive parameter names for StackObjectPoolFactory

Modified:
    jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/StackObjectPoolFactory.java

Modified: jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/StackObjectPoolFactory.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/StackObjectPoolFactory.java?rev=390579&r1=390578&r2=390579&view=diff
==============================================================================
--- jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/StackObjectPoolFactory.java
(original)
+++ jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/StackObjectPoolFactory.java
Fri Mar 31 19:09:41 2006
@@ -34,25 +34,25 @@
         this((PoolableObjectFactory)null,StackObjectPool.DEFAULT_MAX_SLEEPING,StackObjectPool.DEFAULT_INIT_SLEEPING_CAPACITY);
     }
 
-    public StackObjectPoolFactory(int max) {
-        this((PoolableObjectFactory)null,max,StackObjectPool.DEFAULT_INIT_SLEEPING_CAPACITY);
+    public StackObjectPoolFactory(int maxIdle) {
+        this((PoolableObjectFactory)null,maxIdle,StackObjectPool.DEFAULT_INIT_SLEEPING_CAPACITY);
     }
 
-    public StackObjectPoolFactory(int max, int init) {
-        this((PoolableObjectFactory)null,max,init);
+    public StackObjectPoolFactory(int maxIdle, int init) {
+        this((PoolableObjectFactory)null,maxIdle,init);
     }
 
     public StackObjectPoolFactory(PoolableObjectFactory factory) {
         this(factory,StackObjectPool.DEFAULT_MAX_SLEEPING,StackObjectPool.DEFAULT_INIT_SLEEPING_CAPACITY);
     }
 
-    public StackObjectPoolFactory(PoolableObjectFactory factory, int max) {
-        this(factory,max,StackObjectPool.DEFAULT_INIT_SLEEPING_CAPACITY);
+    public StackObjectPoolFactory(PoolableObjectFactory factory, int maxIdle) {
+        this(factory,maxIdle,StackObjectPool.DEFAULT_INIT_SLEEPING_CAPACITY);
     }
 
-    public StackObjectPoolFactory(PoolableObjectFactory factory, int max, int init) {
+    public StackObjectPoolFactory(PoolableObjectFactory factory, int maxIdle, int init) {
         _factory = factory;
-        _maxSleeping = max;
+        _maxSleeping = maxIdle;
         _initCapacity = init;
     }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message