commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From di...@apache.org
Subject svn commit: r170360 - /jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/StackObjectPool.java
Date Mon, 16 May 2005 11:13:26 GMT
Author: dirkv
Date: Mon May 16 04:13:26 2005
New Revision: 170360

URL: http://svn.apache.org/viewcvs?rev=170360&view=rev
Log:
ASF Bugzilla Bug 34934 [pool] clean up some JavaDoc warnings
- patch by Sandy McArthur

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

Modified: jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/StackObjectPool.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/StackObjectPool.java?rev=170360&r1=170359&r2=170360&view=diff
==============================================================================
--- jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/StackObjectPool.java
(original)
+++ jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/StackObjectPool.java
Mon May 16 04:13:26 2005
@@ -91,7 +91,7 @@
     /**
      * Create a new <tt>SimpleObjectPool</tt> using
      * the specified <i>factory</i> to create new instances,
-     * capping the number of "sleeping" instances to <i>max</i>
+     * capping the number of "sleeping" instances to <i>max</i>.
      *
      * @param factory the {@link PoolableObjectFactory} used to populate the pool
      * @param maxIdle cap on the number of "sleeping" instances in the pool
@@ -223,6 +223,7 @@
     /**
      * Create an object, and place it into the pool.
      * addObject() is useful for "pre-loading" a pool with idle objects.
+     * @throws Exception when the {@link #_factory} has a problem creating an object.
      */
     public void addObject() throws Exception {
         Object obj = _factory.makeObject();
@@ -261,6 +262,6 @@
     /** The cap on the number of "sleeping" instances in the pool. */
     protected int _maxSleeping = DEFAULT_MAX_SLEEPING;
 
-    /** Number of object borrowed but not yet returned to the pool */
+    /** Number of object borrowed but not yet returned to the pool. */
     protected int _numActive = 0;
 }



---------------------------------------------------------------------
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