diff --git a/src/main/java/org/apache/commons/pool3/PoolUtils.java b/src/main/java/org/apache/commons/pool3/PoolUtils.java index c43f7bf7a..b5b18e3c3 100644 --- a/src/main/java/org/apache/commons/pool3/PoolUtils.java +++ b/src/main/java/org/apache/commons/pool3/PoolUtils.java @@ -673,7 +673,7 @@ public String toString() { * A synchronized (thread-safe) KeyedObjectPool backed by the specified * KeyedObjectPool. *
- * Note: This should not be used on pool implementations that already + * Note: This should not be used on pool implementations that already * provide proper synchronization such as the pools provided in the Commons * Pool library. Wrapping a pool that {@link #wait() waits} for poolable * objects to be returned before allowing another one to be borrowed with @@ -905,7 +905,7 @@ public String toString() { * KeyedPooledObjectFactory and synchronizes access to the wrapped factory * methods. *
- * Note: This should not be used on pool implementations that already + * Note: This should not be used on pool implementations that already * provide proper synchronization such as the pools provided in the Commons * Pool library. *
@@ -1021,7 +1021,7 @@ public boolean validateObject(final K key, final PooledObject- * Note: This should not be used on pool implementations that already + * Note: This should not be used on pool implementations that already * provide proper synchronization such as the pools provided in the Commons * Pool library. Wrapping a pool that {@link #wait() waits} for poolable * objects to be returned before allowing another one to be borrowed with @@ -1196,7 +1196,7 @@ public String toString() { * PooledObjectFactory and synchronizes access to the wrapped factory * methods. *
- * Note: This should not be used on pool implementations that already + * Note: This should not be used on pool implementations that already * provide proper synchronization such as the pools provided in the Commons * Pool library. *
@@ -1676,7 +1676,7 @@ public static
- * Note: This should not be used on pool implementations that already
+ * Note: This should not be used on pool implementations that already
* provide proper synchronization such as the pools provided in the Commons
* Pool library. Wrapping a pool that {@link #wait() waits} for poolable
* objects to be returned before allowing another one to be borrowed with
@@ -1709,7 +1709,7 @@ public static
- * Note: This should not be used on pool implementations that already
+ * Note: This should not be used on pool implementations that already
* provide proper synchronization such as the pools provided in the Commons
* Pool library. Wrapping a pool that {@link #wait() waits} for poolable
* objects to be returned before allowing another one to be borrowed with
diff --git a/src/main/java/org/apache/commons/pool3/impl/GenericKeyedObjectPool.java b/src/main/java/org/apache/commons/pool3/impl/GenericKeyedObjectPool.java
index f556af066..48b518f18 100644
--- a/src/main/java/org/apache/commons/pool3/impl/GenericKeyedObjectPool.java
+++ b/src/main/java/org/apache/commons/pool3/impl/GenericKeyedObjectPool.java
@@ -209,7 +209,7 @@ public String toString() {
private final boolean fairness;
/*
- * My hash of sub-pools (ObjectQueue). The list of keys must be kept
+ * My hash of sub-pools (ObjectQueue). The list of keys must be kept
* in step with {@link #poolKeyList} using {@link #keyLock} to ensure any
* changes to the list of current keys is made in a thread-safe manner.
*/
@@ -218,7 +218,7 @@ public String toString() {
/*
* List of pool keys - used to control eviction order. The list of keys
- * must be kept in step with {@link #poolMap} using {@link #keyLock}
+ * must be kept in step with {@link #poolMap} using {@link #keyLock}
* to ensure any changes to the list of current keys is made in a
* thread-safe manner.
*/
diff --git a/src/test/java/org/apache/commons/pool3/impl/TestSynchronizedPooledObjectFactory.java b/src/test/java/org/apache/commons/pool3/impl/TestSynchronizedPooledObjectFactory.java
index e104e2211..0d045fde9 100644
--- a/src/test/java/org/apache/commons/pool3/impl/TestSynchronizedPooledObjectFactory.java
+++ b/src/test/java/org/apache/commons/pool3/impl/TestSynchronizedPooledObjectFactory.java
@@ -29,7 +29,7 @@
* A fully synchronized PooledObjectFactory that wraps a PooledObjectFactory and
* synchronizes access to the wrapped factory methods.
*
- * Note: This should not be used on pool implementations that already
+ * Note: This should not be used on pool implementations that already
* provide proper synchronization such as the pools provided in the Commons Pool
* library.
*