You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2025/09/25 17:57:30 UTC
(commons-pool) branch POOL_2_X updated: Format nit
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch POOL_2_X
in repository https://gitbox.apache.org/repos/asf/commons-pool.git
The following commit(s) were added to refs/heads/POOL_2_X by this push:
new 0220d919 Format nit
0220d919 is described below
commit 0220d919ce7dff8f96554146976e2a0ebfacec54
Author: Gary Gregory <gg...@rocketsoftware.com>
AuthorDate: Thu Sep 25 13:57:26 2025 -0400
Format nit
Javadoc
---
src/main/java/org/apache/commons/pool2/impl/GenericObjectPool.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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 de04db23..952b919b 100644
--- a/src/main/java/org/apache/commons/pool2/impl/GenericObjectPool.java
+++ b/src/main/java/org/apache/commons/pool2/impl/GenericObjectPool.java
@@ -957,11 +957,12 @@ public class GenericObjectPool<T> extends BaseGenericObjectPool<T>
public Set<DefaultPooledObjectInfo> listAllObjects() {
return allObjects.values().stream().map(DefaultPooledObjectInfo::new).collect(Collectors.toSet());
}
+
/**
* Tries to ensure that {@link #getMinIdle()} idle instances are available
* in the pool.
*
- * @throws Exception If the associated factory throws an exception
+ * @throws Exception If the associated factory throws an exception.
* @since 2.4
*/
public void preparePool() throws Exception {