Skip to content

Commit 8a4f58c

Browse files
committed
Javadoc: Use the semantic HTML tag 'string' instead of the style tag 'b'
1 parent af6647c commit 8a4f58c

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,7 @@ public String toString() {
673673
* A synchronized (thread-safe) KeyedObjectPool backed by the specified
674674
* KeyedObjectPool.
675675
* <p>
676-
* <b>Note:</b> This should not be used on pool implementations that already
676+
* <strong>Note:</strong> This should not be used on pool implementations that already
677677
* provide proper synchronization such as the pools provided in the Commons
678678
* Pool library. Wrapping a pool that {@link #wait() waits} for poolable
679679
* objects to be returned before allowing another one to be borrowed with
@@ -905,7 +905,7 @@ public String toString() {
905905
* KeyedPooledObjectFactory and synchronizes access to the wrapped factory
906906
* methods.
907907
* <p>
908-
* <b>Note:</b> This should not be used on pool implementations that already
908+
* <strong>Note:</strong> This should not be used on pool implementations that already
909909
* provide proper synchronization such as the pools provided in the Commons
910910
* Pool library.
911911
* </p>
@@ -1021,7 +1021,7 @@ public boolean validateObject(final K key, final PooledObject<V> p) {
10211021
* A synchronized (thread-safe) ObjectPool backed by the specified
10221022
* ObjectPool.
10231023
* <p>
1024-
* <b>Note:</b> This should not be used on pool implementations that already
1024+
* <strong>Note:</strong> This should not be used on pool implementations that already
10251025
* provide proper synchronization such as the pools provided in the Commons
10261026
* Pool library. Wrapping a pool that {@link #wait() waits} for poolable
10271027
* objects to be returned before allowing another one to be borrowed with
@@ -1196,7 +1196,7 @@ public String toString() {
11961196
* PooledObjectFactory and synchronizes access to the wrapped factory
11971197
* methods.
11981198
* <p>
1199-
* <b>Note:</b> This should not be used on pool implementations that already
1199+
* <strong>Note:</strong> This should not be used on pool implementations that already
12001200
* provide proper synchronization such as the pools provided in the Commons
12011201
* Pool library.
12021202
* </p>
@@ -1676,7 +1676,7 @@ public static <K, V, E extends Exception> KeyedPooledObjectFactory<K, V, E> sync
16761676
* Returns a synchronized (thread-safe) KeyedObjectPool backed by the
16771677
* specified KeyedObjectPool.
16781678
* <p>
1679-
* <b>Note:</b> This should not be used on pool implementations that already
1679+
* <strong>Note:</strong> This should not be used on pool implementations that already
16801680
* provide proper synchronization such as the pools provided in the Commons
16811681
* Pool library. Wrapping a pool that {@link #wait() waits} for poolable
16821682
* objects to be returned before allowing another one to be borrowed with
@@ -1709,7 +1709,7 @@ public static <K, V, E extends Exception> KeyedObjectPool<K, V, E> synchronizedP
17091709
* Returns a synchronized (thread-safe) ObjectPool backed by the specified
17101710
* ObjectPool.
17111711
* <p>
1712-
* <b>Note:</b> This should not be used on pool implementations that already
1712+
* <strong>Note:</strong> This should not be used on pool implementations that already
17131713
* provide proper synchronization such as the pools provided in the Commons
17141714
* Pool library. Wrapping a pool that {@link #wait() waits} for poolable
17151715
* objects to be returned before allowing another one to be borrowed with

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

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

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

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

src/test/java/org/apache/commons/pool3/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)