From 7111a7007a4e6a3c6a39da9efa1279a3ad817dbe Mon Sep 17 00:00:00 2001 From: Gary Gregory Date: Sun, 21 Jul 2024 14:08:07 -0400 Subject: [PATCH] Javadoc Use HTML 'em' tag instead of 'i' tag --- .../java/org/apache/commons/collections4/BulkTest.java | 8 ++++---- .../collections4/collection/AbstractCollectionTest.java | 6 +++--- .../apache/commons/collections4/map/AbstractMapTest.java | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/test/java/org/apache/commons/collections4/BulkTest.java b/src/test/java/org/apache/commons/collections4/BulkTest.java index 2573477378..ddf5172a55 100644 --- a/src/test/java/org/apache/commons/collections4/BulkTest.java +++ b/src/test/java/org/apache/commons/collections4/BulkTest.java @@ -22,13 +22,13 @@ /** * A {@link TestCase} that can define both simple and bulk test methods. *

- * A simple test method is the type of test traditionally + * A simple test method is the type of test traditionally * supplied by {@link TestCase}. To define a simple test, create a public * no-argument method whose name starts with "test". You can specify * the name of simple test in the constructor of {@code BulkTest}; * a subsequent call to {@link TestCase#run} will run that simple test. *

- * A bulk test method, on the other hand, returns a new instance + * A bulk test method, on the other hand, returns a new instance * of {@code BulkTest}, which can itself define new simple and bulk * test methods. By using the {@link #makeSuite} method, you can * automatically create a hierarchical suite of tests and child bulk tests. @@ -88,7 +88,7 @@ * simple test methods and no bulk test methods; {@code HashMapTest} * defines one simple test method and two bulk test methods. When * {@code makeSuite(HashMapTest.class).run} is executed, - * five simple test methods will be run, in this order:

+ * five simple test methods will be run, in this order:

* *

    *
  1. HashMapTest.testClear() @@ -123,7 +123,7 @@ * want to override specific simple tests within a bulk test, use the * {@link #ignoredTests} method.

    * - * Note that if you want to use the bulk test methods, you must + * Note that if you want to use the bulk test methods, you must * define your {@code suite()} method to use {@link #makeSuite}. * The ordinary {@link TestSuite} constructor doesn't know how to * interpret bulk test methods. diff --git a/src/test/java/org/apache/commons/collections4/collection/AbstractCollectionTest.java b/src/test/java/org/apache/commons/collections4/collection/AbstractCollectionTest.java index 0eaa37aae5..31117ab06f 100644 --- a/src/test/java/org/apache/commons/collections4/collection/AbstractCollectionTest.java +++ b/src/test/java/org/apache/commons/collections4/collection/AbstractCollectionTest.java @@ -314,11 +314,11 @@ public Collection getConfirmed() { /** * Returns an array of objects that are contained in a collection * produced by {@link #makeFullCollection()}. Every element in the - * returned array must be an element in a full collection.

    + * returned array must be an element in a full collection.

    * The default implementation returns a heterogeneous array of * objects with some duplicates. null is added if allowed. * Override if you require specific testing elements. Note that if you - * override {@link #makeFullCollection()}, you must override + * override {@link #makeFullCollection()}, you must override * this method to reflect the contents of a full collection. */ @SuppressWarnings("unchecked") @@ -389,7 +389,7 @@ protected int getIterationBehaviour() { } /** - * Returns an array of elements that are not contained in a + * Returns an array of elements that are not contained in a * full collection. Every element in the returned array must * not exist in a collection returned by {@link #makeFullCollection()}. * The default implementation returns a heterogeneous array of elements diff --git a/src/test/java/org/apache/commons/collections4/map/AbstractMapTest.java b/src/test/java/org/apache/commons/collections4/map/AbstractMapTest.java index 6ecbb3ec52..717d599daa 100644 --- a/src/test/java/org/apache/commons/collections4/map/AbstractMapTest.java +++ b/src/test/java/org/apache/commons/collections4/map/AbstractMapTest.java @@ -94,12 +94,12 @@ *

    * For tests on modification operations (puts and removes), fixtures are used to verify that that operation results in correct state for the map and its * collection views. Basically, the modification is performed against your map implementation, and an identical modification is performed against a - * confirmed map implementation. A confirmed map implementation is something like java.util.HashMap, which is known to conform exactly to + * confirmed map implementation. A confirmed map implementation is something like java.util.HashMap, which is known to conform exactly to * the {@link Map} contract. After the modification takes place on both your map implementation and the confirmed map implementation, the two maps are compared * to see if their state is identical. The comparison also compares the collection views to make sure they're still the same. *

    * - * The upshot of all that is that any test that modifies the map in any way will verify that all of the map's state is still correct, + * The upshot of all that is that any test that modifies the map in any way will verify that all of the map's state is still correct, * including the state of its collection views. So for instance if a key is removed by the map's key set's iterator, then the entry set is checked to make sure * the key/value pair no longer appears. *

    @@ -1845,7 +1845,7 @@ public void testValuesRetainAll() { } /** - * Verifies that {@link #map} is still equal to {@link #confirmed}. This method checks that the map is equal to the HashMap, and that the map's + * Verifies that {@link #map} is still equal to {@link #confirmed}. This method checks that the map is equal to the HashMap, and that the map's * collection views are still equal to the HashMap's collection views. An equals test is done on the maps and their collection views; their * size and isEmpty results are compared; their hashCodes are compared; and containsAll tests are run on the collection views. */