Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 73387 invoked from network); 14 Feb 2006 21:09:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Feb 2006 21:09:55 -0000 Received: (qmail 23941 invoked by uid 500); 14 Feb 2006 21:09:54 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 23421 invoked by uid 500); 14 Feb 2006 21:09:51 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 23409 invoked by uid 500); 14 Feb 2006 21:09:51 -0000 Received: (qmail 23406 invoked by uid 99); 14 Feb 2006 21:09:51 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Feb 2006 13:09:51 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 14 Feb 2006 13:09:51 -0800 Received: (qmail 73128 invoked by uid 65534); 14 Feb 2006 21:09:30 -0000 Message-ID: <20060214210930.73127.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r377831 - /jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/GenericKeyedObjectPool.java Date: Tue, 14 Feb 2006 21:09:30 -0000 To: commons-cvs@jakarta.apache.org From: rdonkin@apache.org X-Mailer: svnmailer-1.0.6 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: rdonkin Date: Tue Feb 14 13:09:29 2006 New Revision: 377831 URL: http://svn.apache.org/viewcvs?rev=377831&view=rev Log: Corrected contract bug in javadocs. Original patch contributed by Anton Tagunov. Committed patch contributed by Sandy McArthur. Issue #35543. Modified: jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/GenericKeyedObjectPool.java Modified: jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/GenericKeyedObjectPool.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/GenericKeyedObjectPool.java?rev=377831&r1=377830&r2=377831&view=diff ============================================================================== --- jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/GenericKeyedObjectPool.java (original) +++ jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/GenericKeyedObjectPool.java Tue Feb 14 13:09:29 2006 @@ -457,8 +457,8 @@ } /** - * Returns the cap on the total number of instances from my pool. - * @return the cap on the total number of instances from my pool. + * Returns the cap on the total number of instances from my pool if non-positive. + * @return the cap on the total number of instances from my pool if non-positive. * @see #setMaxTotal */ public synchronized int getMaxTotal() { @@ -466,9 +466,9 @@ } /** - * Sets the cap on the total number of instances from my pool. + * Sets the cap on the total number of instances from my pool if non-positive. * @param maxTotal The cap on the total number of instances from my pool. - * Use a negative value for an infinite number of instances. + * Use a non-positive value for an infinite number of instances. * @see #getMaxTotal */ public synchronized void setMaxTotal(int maxTotal) { @@ -1404,7 +1404,7 @@ private int _maxActive = DEFAULT_MAX_ACTIVE; /** - * The cap on the total number of instances from the pool. + * The cap on the total number of instances from the pool if non-positive. * @see #setMaxTotal * @see #getMaxTotal */ --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org