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 f7676d7a Javadoc
f7676d7a is described below

commit f7676d7ae7a68677c50f29e5cff02857e22a1351
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Thu Dec 14 14:00:32 2023 -0500

    Javadoc
---
 .../commons/pool2/impl/TestGenericKeyedObjectPool.java   | 16 ++++++++--------
 .../apache/commons/pool2/impl/TestGenericObjectPool.java | 14 +++++++-------
 2 files changed, 15 insertions(+), 15 deletions(-)

diff --git 
a/src/test/java/org/apache/commons/pool2/impl/TestGenericKeyedObjectPool.java 
b/src/test/java/org/apache/commons/pool2/impl/TestGenericKeyedObjectPool.java
index ac745406..3336fb7c 100644
--- 
a/src/test/java/org/apache/commons/pool2/impl/TestGenericKeyedObjectPool.java
+++ 
b/src/test/java/org/apache/commons/pool2/impl/TestGenericKeyedObjectPool.java
@@ -358,17 +358,17 @@ public class TestGenericKeyedObjectPool extends 
AbstractTestKeyedObjectPool {
 
         /** GKOP to hit */
         private final KeyedObjectPool<String, T> pool;
-        /** number of borrow/return iterations */
+        /** Number of borrow/return iterations */
         private final int iter;
-        /** delay before borrow */
+        /** Delay before borrow */
         private final int startDelay;
-        /** delay before return */
+        /** Delay before return */
         private final int holdTime;
-        /** whether or not delays are random (with max = configured values) */
+        /** Whether or not delays are random (with max = configured values) */
         private final boolean randomDelay;
-        /** expected object */
+        /** Expected object */
         private final T expectedObject;
-        /** key used in borrow / return sequence - null means random */
+        /** Key used in borrow / return sequence - null means random */
         private final String key;
 
         private volatile boolean complete;
@@ -496,10 +496,10 @@ public class TestGenericKeyedObjectPool extends 
AbstractTestKeyedObjectPool {
     // mvn test 
-DargLine="-DTestGenericKeyedObjectPool.display.thread.details=true"
     // @see https://issues.apache.org/jira/browse/SUREFIRE-121
 
-    /** setUp(): {@code new GenericKeyedObjectPool<String,String>(factory)} */
+    /** SetUp(): {@code new GenericKeyedObjectPool<String,String>(factory)} */
     private GenericKeyedObjectPool<String, String> gkoPool;
 
-    /** setUp(): {@code new SimpleFactory<String>()} */
+    /** SetUp(): {@code new SimpleFactory<String>()} */
     private SimpleFactory<String> simpleFactory;
 
     private void checkEvictionOrder(final boolean lifo) throws Exception {
diff --git 
a/src/test/java/org/apache/commons/pool2/impl/TestGenericObjectPool.java 
b/src/test/java/org/apache/commons/pool2/impl/TestGenericObjectPool.java
index 10d0da16..3418abe8 100644
--- a/src/test/java/org/apache/commons/pool2/impl/TestGenericObjectPool.java
+++ b/src/test/java/org/apache/commons/pool2/impl/TestGenericObjectPool.java
@@ -454,25 +454,25 @@ public class TestGenericObjectPool extends 
TestBaseObjectPool {
 
     static class TestThread<T> implements Runnable {
 
-        /** source of random delay times */
+        /** Source of random delay times */
         private final java.util.Random random;
 
-        /** pool to borrow from */
+        /** Pool to borrow from */
         private final ObjectPool<T> pool;
 
-        /** number of borrow attempts */
+        /** Number of borrow attempts */
         private final int iter;
 
-        /** delay before each borrow attempt */
+        /** Delay before each borrow attempt */
         private final int startDelay;
 
-        /** time to hold each borrowed object before returning it */
+        /** Time to hold each borrowed object before returning it */
         private final int holdTime;
 
-        /** whether or not start and hold time are randomly generated */
+        /** Whether or not start and hold time are randomly generated */
         private final boolean randomDelay;
 
-        /** object expected to be borrowed (fail otherwise) */
+        /** Object expected to be borrowed (fail otherwise) */
         private final Object expectedObject;
 
         private volatile boolean complete;

Reply via email to