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

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

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

diff --git 
a/src/test/java/org/apache/commons/pool3/impl/TestGenericKeyedObjectPool.java 
b/src/test/java/org/apache/commons/pool3/impl/TestGenericKeyedObjectPool.java
index a30f1745..0cbc0f2e 100644
--- 
a/src/test/java/org/apache/commons/pool3/impl/TestGenericKeyedObjectPool.java
+++ 
b/src/test/java/org/apache/commons/pool3/impl/TestGenericKeyedObjectPool.java
@@ -359,17 +359,17 @@ public class TestGenericKeyedObjectPool extends 
AbstractTestKeyedObjectPool {
 
         /** GKOP to hit */
         private final KeyedObjectPool<String, T, E> 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;
@@ -497,10 +497,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, TestException> gkoPool;
 
-    /** setUp(): {@code new SimpleFactory<String>()} */
+    /** SetUp(): {@code new SimpleFactory<String>()} */
     private SimpleFactory<String> simpleFactory;
 
     private void checkEvictionOrder(final boolean lifo) throws 
InterruptedException, TestException {
diff --git 
a/src/test/java/org/apache/commons/pool3/impl/TestGenericObjectPool.java 
b/src/test/java/org/apache/commons/pool3/impl/TestGenericObjectPool.java
index ab23d66c..fa6ce6af 100644
--- a/src/test/java/org/apache/commons/pool3/impl/TestGenericObjectPool.java
+++ b/src/test/java/org/apache/commons/pool3/impl/TestGenericObjectPool.java
@@ -455,25 +455,25 @@ public class TestGenericObjectPool extends 
TestBaseObjectPool {
 
     static class TestThread<T, E extends Exception> 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, E> 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