Skip to content

Commit 95673e4

Browse files
committed
Javadoc: Use semantic tag <strong> instead of style tag <b>
1 parent 45cd711 commit 95673e4

31 files changed

+56
-56
lines changed

src/main/java/org/apache/commons/collections4/ArrayStack.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
* <p>
3535
* Unlike {@code Stack}, {@code ArrayStack} accepts null entries.
3636
* <p>
37-
* <b>Note:</b> From version 4.0 onwards, this class does not implement the
37+
* <strong>Note:</strong> From version 4.0 onwards, this class does not implement the
3838
* removed {@code Buffer} interface anymore.
3939
* </p>
4040
*

src/main/java/org/apache/commons/collections4/CollectionUtils.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1214,7 +1214,7 @@ public static boolean isEqualCollection(final Collection<?> a, final Collection<
12141214
* for each element <em>e</em> in <em>a</em> or <em>b</em>.
12151215
* </p>
12161216
* <p>
1217-
* <b>Note:</b> from version 4.1 onwards this method requires the input
1217+
* <strong>Note:</strong> from version 4.1 onwards this method requires the input
12181218
* collections and equator to be of compatible type (using bounded wildcards).
12191219
* Providing incompatible arguments (e.g. by casting to their rawtypes)
12201220
* will result in a {@code ClassCastException} thrown at runtime.
@@ -1404,7 +1404,7 @@ public static int maxSize(final Collection<? extends Object> collection) {
14041404
* <p>
14051405
* NOTE: the number of permutations of a given collection is equal to n!, where
14061406
* n is the size of the collection. Thus, the resulting collection will become
1407-
* <b>very</b> large for collections &gt; 10 (e.g. 10! = 3628800, 15! = 1307674368000).
1407+
* <strong>very</strong> large for collections &gt; 10 (e.g. 10! = 3628800, 15! = 1307674368000).
14081408
* </p>
14091409
* <p>
14101410
* For larger collections it is advised to use a {@link PermutationIterator} to
@@ -1792,7 +1792,7 @@ public static <O, R extends Collection<? super O>> R select(final Iterable<? ext
17921792
* @param <O> the type of object the {@link Iterable} contains
17931793
* @param inputCollection the collection to get the input from, may not be null
17941794
* @param predicate the predicate to use, may be null
1795-
* @return the elements <b>not</b> matching the predicate (new list)
1795+
* @return the elements <strong>not</strong> matching the predicate (new list)
17961796
*/
17971797
public static <O> Collection<O> selectRejected(final Iterable<? extends O> inputCollection,
17981798
final Predicate<? super O> predicate) {
@@ -1962,7 +1962,7 @@ public static <O> Collection<O> subtract(final Iterable<? extends O> a, final It
19621962
* minus the cardinality of <em>e</em> in <em>b</em>, or zero, whichever is greater.
19631963
* </p>
19641964
* <p>
1965-
* The cardinality of each element <em>e</em> in the returned {@link Collection} that does <b>not</b>
1965+
* The cardinality of each element <em>e</em> in the returned {@link Collection} that does <strong>not</strong>
19661966
* satisfy the predicate condition will be equal to the cardinality of <em>e</em> in <em>a</em>.
19671967
* </p>
19681968
*

src/main/java/org/apache/commons/collections4/IterableUtils.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
/**
3636
* Provides utility methods and decorators for {@link Iterable} instances.
3737
* <p>
38-
* <b>Note</b>: This utility class has been designed with fail-fast argument checking.
38+
* <strong>Note</strong>: This utility class has been designed with fail-fast argument checking.
3939
* </p>
4040
* <ul>
4141
* <li>All decorator methods are <em>not</em> null-safe for the provided Iterable argument; for example, they will throw a {@link NullPointerException} if a
@@ -685,7 +685,7 @@ public static <E> boolean matchesAny(final Iterable<E> iterable, final Predicate
685685
* R = collection of elements rejected by all predicates
686686
* </pre>
687687
* <p>
688-
* <b>Note</b>: elements are only added to the output collection of the first matching
688+
* <strong>Note</strong>: elements are only added to the output collection of the first matching
689689
* predicate, determined by the order of arguments.
690690
* </p>
691691
* <p>
@@ -818,7 +818,7 @@ public static <O> List<List<O>> partition(final Iterable<? extends O> iterable,
818818
* R = collection of elements rejected by all predicates
819819
* </pre>
820820
* <p>
821-
* <b>Note</b>: elements are only added to the output collection of the first matching
821+
* <strong>Note</strong>: elements are only added to the output collection of the first matching
822822
* predicate, determined by the order of arguments.
823823
* </p>
824824
* <p>

src/main/java/org/apache/commons/collections4/ListUtils.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ public static <E> List<E> intersection(final List<? extends E> list1, final List
309309
* different implementations of the {@code List} interface.
310310
* </blockquote>
311311
* <p>
312-
* <b>Note:</b> The behavior of this method is undefined if the lists are
312+
* <strong>Note:</strong> The behavior of this method is undefined if the lists are
313313
* modified during the equals comparison.
314314
* </p>
315315
*
@@ -625,7 +625,7 @@ public static <E> List<E> select(final Collection<? extends E> inputCollection,
625625
* @param <E> the element type
626626
* @param inputCollection the collection to get the input from, may not be null
627627
* @param predicate the predicate to use, may be null
628-
* @return the elements <b>not</b> matching the predicate (new list)
628+
* @return the elements <strong>not</strong> matching the predicate (new list)
629629
* @throws NullPointerException if the input collection is null
630630
*
631631
* @since 4.0

src/main/java/org/apache/commons/collections4/ListValuedMap.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public interface ListValuedMap<K, V> extends MultiValuedMap<K, V> {
3737
/**
3838
* Gets the list of values associated with the specified key.
3939
* <p>
40-
* This method will return an <b>empty</b> list if
40+
* This method will return an <strong>empty</strong> list if
4141
* {@link #containsKey(Object)} returns {@code false}. Changes to the
4242
* returned list will update the underlying {@code ListValuedMap} and
4343
* vice-versa.

src/main/java/org/apache/commons/collections4/MultiValuedMap.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ public interface MultiValuedMap<K, V> {
128128
/**
129129
* Returns a view collection of the values associated with the specified key.
130130
* <p>
131-
* This method will return an <b>empty</b> collection if {@link #containsKey(Object)}
131+
* This method will return an <strong>empty</strong> collection if {@link #containsKey(Object)}
132132
* returns {@code false}. Changes to the returned collection will update the underlying
133133
* {@code MultiValuedMap} and vice-versa.
134134
* </p>

src/main/java/org/apache/commons/collections4/SetUtils.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
public class SetUtils {
5050

5151
/**
52-
* An unmodifiable <b>view</b> of a set that may be backed by other sets.
52+
* An unmodifiable <strong>view</strong> of a set that may be backed by other sets.
5353
* <p>
5454
* If the decorated sets change, this view will change as well. The contents
5555
* of this view can be transferred to another instance via the {@link #copyInto(Set)}
@@ -109,7 +109,7 @@ public Set<E> toSet() {
109109
UnmodifiableSortedSet.unmodifiableSortedSet(new TreeSet<>());
110110

111111
/**
112-
* Returns an unmodifiable <b>view</b> containing the difference of the given
112+
* Returns an unmodifiable <strong>view</strong> containing the difference of the given
113113
* {@link Set}s, denoted by {@code a \ b} (or {@code a - b}).
114114
* <p>
115115
* The returned view contains all elements of {@code a} that are not a member
@@ -142,7 +142,7 @@ public Iterator<E> createIterator() {
142142
}
143143

144144
/**
145-
* Returns an unmodifiable <b>view</b> of the symmetric difference of the given
145+
* Returns an unmodifiable <strong>view</strong> of the symmetric difference of the given
146146
* {@link Set}s.
147147
* <p>
148148
* The returned view contains all elements of {@code a} and {@code b} that are
@@ -261,7 +261,7 @@ public static <E> HashSet<E> hashSet(final E... items) {
261261
}
262262

263263
/**
264-
* Returns an unmodifiable <b>view</b> of the intersection of the given {@link Set}s.
264+
* Returns an unmodifiable <strong>view</strong> of the intersection of the given {@link Set}s.
265265
* <p>
266266
* The returned view contains all elements that are members of both input sets
267267
* ({@code a} and {@code b}).
@@ -548,7 +548,7 @@ public static <E> SortedSet<E> transformedSortedSet(final SortedSet<E> set,
548548
// Set operations
549549

550550
/**
551-
* Returns an unmodifiable <b>view</b> of the union of the given {@link Set}s.
551+
* Returns an unmodifiable <strong>view</strong> of the union of the given {@link Set}s.
552552
* <p>
553553
* The returned view contains all elements of {@code a} and {@code b}.
554554
*

src/main/java/org/apache/commons/collections4/bag/CollectionBag.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ public boolean addAll(final Collection<? extends E> coll) {
112112
/**
113113
* <em>(Change)</em>
114114
* Returns {@code true} if the bag contains all elements in
115-
* the given collection, <b>not</b> respecting cardinality. That is,
115+
* the given collection, <strong>not</strong> respecting cardinality. That is,
116116
* if the given collection {@code coll} contains at least one of
117117
* every object contained in this object.
118118
*
@@ -157,7 +157,7 @@ public boolean remove(final Object object) {
157157
/**
158158
* <em>(Change)</em>
159159
* Remove all elements represented in the given collection,
160-
* <b>not</b> respecting cardinality. That is, remove <em>all</em>
160+
* <strong>not</strong> respecting cardinality. That is, remove <em>all</em>
161161
* occurrences of every object contained in the given collection.
162162
*
163163
* @param coll the collection to remove

src/main/java/org/apache/commons/collections4/collection/AbstractCollectionDecorator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ public boolean retainAll(final Collection<?> coll) {
153153
/**
154154
* Sets the collection being decorated.
155155
* <p>
156-
* <b>NOTE:</b> this method should only be used during deserialization
156+
* <strong>NOTE:</strong> this method should only be used during deserialization
157157
*
158158
* @param collection the decorated collection
159159
*/

src/main/java/org/apache/commons/collections4/comparators/ReverseComparator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public class ReverseComparator<E> implements Comparator<E>, Serializable {
4242
* Creates a comparator that compares objects based on the inverse of their
4343
* natural ordering. Using this Constructor will create a ReverseComparator
4444
* that is functionally identical to the Comparator returned by
45-
* java.util.Collections.<b>reverseOrder()</b>.
45+
* java.util.Collections.<strong>reverseOrder()</strong>.
4646
*
4747
* @see java.util.Collections#reverseOrder()
4848
*/

0 commit comments

Comments
 (0)