commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pste...@apache.org
Subject svn commit: r635095 - /commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/BasicDataSource.java
Date Sat, 08 Mar 2008 22:02:38 GMT
Author: psteitz
Date: Sat Mar  8 14:02:36 2008
New Revision: 635095

URL: http://svn.apache.org/viewvc?rev=635095&view=rev
Log:
Fixed error in maxActive javadoc.
JIRA: DBCP-41

Modified:
    commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/BasicDataSource.java

Modified: commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/BasicDataSource.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/BasicDataSource.java?rev=635095&r1=635094&r2=635095&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/BasicDataSource.java (original)
+++ commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/BasicDataSource.java Sat Mar
 8 14:02:36 2008
@@ -214,7 +214,7 @@
 
     /**
      * The maximum number of active connections that can be allocated from
-     * this pool at the same time, or non-positive for no limit.
+     * this pool at the same time, or negative for no limit.
      */
     protected int maxActive = GenericObjectPool.DEFAULT_MAX_ACTIVE;
 
@@ -222,7 +222,7 @@
      * <p>Returns the maximum number of active connections that can be
      * allocated at the same time.
      * </p>
-     * <p>A non-positive number means that there is no limit.</p>
+     * <p>A negative number means that there is no limit.</p>
      * 
      * @return the maximum number of active connections
      */
@@ -232,7 +232,7 @@
 
     /**
      * Sets the maximum number of active connections that can be
-     * allocated at the same time.
+     * allocated at the same time. Use a negative value for no limit.
      * 
      * @param maxActive the new value for maxActive
      * @see #getMaxActive()
@@ -263,7 +263,7 @@
     }
 
     /**
-     * Sets the maximum number of connections that can remail idle in the
+     * Sets the maximum number of connections that can remain idle in the
      * pool.
      * 
      * @see #getMaxIdle()



Mime
View raw message