This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-pool.git
The following commit(s) were added to refs/heads/master by this push:
new 43c318f1 Update Javadoc with current behavior of private method.
43c318f1 is described below
commit 43c318f1b95c69f1b41a73e90f1a1c7cc245f138
Author: Gary Gregory <[email protected]>
AuthorDate: Thu Apr 21 13:13:23 2022 -0400
Update Javadoc with current behavior of private method.
---
.../java/org/apache/commons/pool2/impl/GenericKeyedObjectPool.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git
a/src/main/java/org/apache/commons/pool2/impl/GenericKeyedObjectPool.java
b/src/main/java/org/apache/commons/pool2/impl/GenericKeyedObjectPool.java
index 890d1472..5e339a66 100644
--- a/src/main/java/org/apache/commons/pool2/impl/GenericKeyedObjectPool.java
+++ b/src/main/java/org/apache/commons/pool2/impl/GenericKeyedObjectPool.java
@@ -721,11 +721,11 @@ public class GenericKeyedObjectPool<K, T, E extends
Exception> extends BaseGener
/**
* Creates a new pooled object.
*
- * @param key Key associated with new pooled object
+ * @param key Key associated with new pooled object.
*
- * @return The new, wrapped pooled object
+ * @return The new, wrapped pooled object. May return null.
*
- * @throws E If the objection creation fails
+ * @throws E If the objection creation fails.
*/
private PooledObject<T> create(final K key) throws E {
int maxTotalPerKeySave = getMaxTotalPerKey(); // Per key