Skip to content

Commit 27301c6

Browse files
committed
Javadoc: Use semantic tag <strong> instead of style tag <b>
1 parent fbce876 commit 27301c6

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

src/main/java/org/apache/commons/pool2/PoolUtils.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,7 @@ public String toString() {
665665
* A synchronized (thread-safe) KeyedObjectPool backed by the specified
666666
* KeyedObjectPool.
667667
* <p>
668-
* <b>Note:</b> This should not be used on pool implementations that already
668+
* <strong>Note:</strong> This should not be used on pool implementations that already
669669
* provide proper synchronization such as the pools provided in the Commons
670670
* Pool library. Wrapping a pool that {@link #wait() waits} for poolable
671671
* objects to be returned before allowing another one to be borrowed with
@@ -896,7 +896,7 @@ public String toString() {
896896
* KeyedPooledObjectFactory and synchronizes access to the wrapped factory
897897
* methods.
898898
* <p>
899-
* <b>Note:</b> This should not be used on pool implementations that already
899+
* <strong>Note:</strong> This should not be used on pool implementations that already
900900
* provide proper synchronization such as the pools provided in the Commons
901901
* Pool library.
902902
* </p>
@@ -1011,7 +1011,7 @@ public boolean validateObject(final K key, final PooledObject<V> p) {
10111011
* A synchronized (thread-safe) ObjectPool backed by the specified
10121012
* ObjectPool.
10131013
* <p>
1014-
* <b>Note:</b> This should not be used on pool implementations that already
1014+
* <strong>Note:</strong> This should not be used on pool implementations that already
10151015
* provide proper synchronization such as the pools provided in the Commons
10161016
* Pool library. Wrapping a pool that {@link #wait() waits} for poolable
10171017
* objects to be returned before allowing another one to be borrowed with
@@ -1185,7 +1185,7 @@ public String toString() {
11851185
* PooledObjectFactory and synchronizes access to the wrapped factory
11861186
* methods.
11871187
* <p>
1188-
* <b>Note:</b> This should not be used on pool implementations that already
1188+
* <strong>Note:</strong> This should not be used on pool implementations that already
11891189
* provide proper synchronization such as the pools provided in the Commons
11901190
* Pool library.
11911191
* </p>
@@ -1751,7 +1751,7 @@ public static <K, V> KeyedPooledObjectFactory<K, V> synchronizedKeyedPooledFacto
17511751
* Returns a synchronized (thread-safe) KeyedObjectPool backed by the
17521752
* specified KeyedObjectPool.
17531753
* <p>
1754-
* <b>Note:</b> This should not be used on pool implementations that already
1754+
* <strong>Note:</strong> This should not be used on pool implementations that already
17551755
* provide proper synchronization such as the pools provided in the Commons
17561756
* Pool library. Wrapping a pool that {@link #wait() waits} for poolable
17571757
* objects to be returned before allowing another one to be borrowed with
@@ -1784,7 +1784,7 @@ public static <K, V> KeyedObjectPool<K, V> synchronizedPool(final KeyedObjectPoo
17841784
* Returns a synchronized (thread-safe) ObjectPool backed by the specified
17851785
* ObjectPool.
17861786
* <p>
1787-
* <b>Note:</b> This should not be used on pool implementations that already
1787+
* <strong>Note:</strong> This should not be used on pool implementations that already
17881788
* provide proper synchronization such as the pools provided in the Commons
17891789
* Pool library. Wrapping a pool that {@link #wait() waits} for poolable
17901790
* objects to be returned before allowing another one to be borrowed with

src/main/java/org/apache/commons/pool2/impl/GenericKeyedObjectPool.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ public String toString() {
208208
private final boolean fairness;
209209

210210
/*
211-
* My hash of sub-pools (ObjectQueue). The list of keys <b>must</b> be kept
211+
* My hash of sub-pools (ObjectQueue). The list of keys <strong>must</strong> be kept
212212
* in step with {@link #poolKeyList} using {@link #keyLock} to ensure any
213213
* changes to the list of current keys is made in a thread-safe manner.
214214
*/
@@ -217,7 +217,7 @@ public String toString() {
217217

218218
/*
219219
* List of pool keys - used to control eviction order. The list of keys
220-
* <b>must</b> be kept in step with {@link #poolMap} using {@link #keyLock}
220+
* <strong>must</strong> be kept in step with {@link #poolMap} using {@link #keyLock}
221221
* to ensure any changes to the list of current keys is made in a
222222
* thread-safe manner.
223223
*/

src/test/java/org/apache/commons/pool2/impl/TestSynchronizedPooledObjectFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
* A fully synchronized PooledObjectFactory that wraps a PooledObjectFactory and
3030
* synchronizes access to the wrapped factory methods.
3131
* <p>
32-
* <b>Note:</b> This should not be used on pool implementations that already
32+
* <strong>Note:</strong> This should not be used on pool implementations that already
3333
* provide proper synchronization such as the pools provided in the Commons Pool
3434
* library.
3535
* </p>

0 commit comments

Comments
 (0)