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 312fb14a Javadoc tweaks
312fb14a is described below
commit 312fb14a1dc69f6fb313da2e3793d4f149e97290
Author: Gary Gregory <[email protected]>
AuthorDate: Wed Jul 12 15:15:01 2023 -0400
Javadoc tweaks
---
.../org/apache/commons/pool2/impl/GenericKeyedObjectPool.java | 6 ++++--
.../java/org/apache/commons/pool2/impl/GenericObjectPool.java | 9 ++++++---
2 files changed, 10 insertions(+), 5 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 f468795b..18b507e4 100644
--- a/src/main/java/org/apache/commons/pool2/impl/GenericKeyedObjectPool.java
+++ b/src/main/java/org/apache/commons/pool2/impl/GenericKeyedObjectPool.java
@@ -322,7 +322,8 @@ public class GenericKeyedObjectPool<K, T, E extends
Exception> extends BaseGener
* objects.
* <p>
* If there is no capacity available to add to the pool under the given
key,
- * this is a no-op (no exception, no impact to the pool). </p>
+ * this is a no-op (no exception, no impact to the pool).
+ * </p>
* <p>
* If the factory returns null when creating an instance,
* a {@code NullPointerException} is thrown.
@@ -930,7 +931,8 @@ public class GenericKeyedObjectPool<K, T, E extends
Exception> extends BaseGener
* the pool for the given key.
* <p>
* If there is no capacity available to add to the pool, this is a no-op
- * (no exception, no impact to the pool). </p>
+ * (no exception, no impact to the pool).
+ * </p>
* <p>
* If the factory returns null when creating an object, a {@code
NullPointerException}
* is thrown.
diff --git a/src/main/java/org/apache/commons/pool2/impl/GenericObjectPool.java
b/src/main/java/org/apache/commons/pool2/impl/GenericObjectPool.java
index e23c5ae5..df4d589a 100644
--- a/src/main/java/org/apache/commons/pool2/impl/GenericObjectPool.java
+++ b/src/main/java/org/apache/commons/pool2/impl/GenericObjectPool.java
@@ -205,11 +205,13 @@ public class GenericObjectPool<T, E extends Exception>
extends BaseGenericObject
* "pre-loading" a pool with idle objects.
* <p>
* If there is no capacity available to add to the pool, this is a no-op
- * (no exception, no impact to the pool). </p>
+ * (no exception, no impact to the pool).
+ * </p>
* <p>
* If the factory returns null when creating an object, a {@code
NullPointerException}
* is thrown. If there is no factory set (factory == null), an {@code
IllegalStateException}
- * is thrown. </p>
+ * is thrown.
+ * </p>
*
*/
@Override
@@ -633,7 +635,8 @@ public class GenericObjectPool<T, E extends Exception>
extends BaseGenericObject
* </p>
* <p>
* If the factory returns null when creating an instance, a {@code
NullPointerException}
- * is thrown. </p>
+ * is thrown.
+ * </p>
*
* @param idleCount the number of idle instances desired
* @param always true means create instances even if the pool has no
threads waiting