Skip to content

Commit 745a700

Browse files
committed
Fix malformed Javadoc comments
1 parent d07ec0c commit 745a700

File tree

10 files changed

+34
-34
lines changed

10 files changed

+34
-34
lines changed

src/main/java/org/apache/commons/lang3/CharSet.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,10 @@ public class CharSet implements Serializable {
106106
*
107107
* <p>The matching order is:</p>
108108
* <ol>
109-
* <li>Negated multi character range, such as "^a-e"
110-
* <li>Ordinary multi character range, such as "a-e"
111-
* <li>Negated single character, such as "^a"
112-
* <li>Ordinary single character, such as "a"
109+
* <li>Negated multi character range, such as "^a-e"</li>
110+
* <li>Ordinary multi character range, such as "a-e"</li>
111+
* <li>Negated single character, such as "^a"</li>
112+
* <li>Ordinary single character, such as "a"</li>
113113
* </ol>
114114
*
115115
* <p>Matching works left to right. Once a match is found the

src/main/java/org/apache/commons/lang3/ObjectUtils.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1022,10 +1022,10 @@ public static boolean isNotEmpty(final Object object) {
10221022
* @param values the set of comparable values, may be null.
10231023
* @return
10241024
* <ul>
1025-
* <li>If any objects are non-null and unequal, the greater object.
1026-
* <li>If all objects are non-null and equal, the first.
1027-
* <li>If any of the comparables are null, the greater of the non-null objects.
1028-
* <li>If all the comparables are null, null is returned.
1025+
* <li>If any objects are non-null and unequal, the greater object.</li>
1026+
* <li>If all objects are non-null and equal, the first.</li>
1027+
* <li>If any of the comparables are null, the greater of the non-null objects.</li>
1028+
* <li>If all the comparables are null, null is returned.</li>
10291029
* </ul>
10301030
*/
10311031
@SafeVarargs
@@ -1092,10 +1092,10 @@ public static <T extends Comparable<? super T>> T median(final T... items) {
10921092
* @param values the set of comparable values, may be null
10931093
* @return
10941094
* <ul>
1095-
* <li>If any objects are non-null and unequal, the lesser object.
1096-
* <li>If all objects are non-null and equal, the first.
1097-
* <li>If any of the comparables are null, the lesser of the non-null objects.
1098-
* <li>If all the comparables are null, null is returned.
1095+
* <li>If any objects are non-null and unequal, the lesser object.</li>
1096+
* <li>If all objects are non-null and equal, the first.</li>
1097+
* <li>If any of the comparables are null, the lesser of the non-null objects.</li>
1098+
* <li>If all the comparables are null, null is returned.</li>
10991099
* </ul>
11001100
*/
11011101
@SafeVarargs

src/main/java/org/apache/commons/lang3/SerializationUtils.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@
3232
* on serialization.
3333
*
3434
* <ul>
35-
* <li>Deep clone using serialization
36-
* <li>Serialize managing finally and IOException
37-
* <li>Deserialize managing finally and IOException
35+
* <li>Deep clone using serialization</li>
36+
* <li>Serialize managing finally and IOException</li>
37+
* <li>Deserialize managing finally and IOException</li>
3838
* </ul>
3939
*
4040
* <p>This class throws exceptions for invalid {@code null} inputs.

src/main/java/org/apache/commons/lang3/StringUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
* <li><strong>endsWith</strong>
5252
* - check if a String ends with a suffix in a null-safe manner</li>
5353
* <li><strong>IndexOf/LastIndexOf/Contains</strong>
54-
* - null-safe index-of checks
54+
* - null-safe index-of checks</li>
5555
* <li><strong>IndexOfAny/LastIndexOfAny/IndexOfAnyBut/LastIndexOfAnyBut</strong>
5656
* - index-of any of a set of Strings</li>
5757
* <li><strong>ContainsOnly/ContainsNone/ContainsAny</strong>

src/main/java/org/apache/commons/lang3/builder/ReflectionToStringBuilder.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -591,8 +591,8 @@ public <T> ReflectionToStringBuilder(
591591
/**
592592
* Returns whether or not to append the given {@link Field}.
593593
* <ul>
594-
* <li>Transient fields are appended only if {@link #isAppendTransients()} returns {@code true}.
595-
* <li>Static fields are appended only if {@link #isAppendStatics()} returns {@code true}.
594+
* <li>Transient fields are appended only if {@link #isAppendTransients()} returns {@code true}.</li>
595+
* <li>Static fields are appended only if {@link #isAppendStatics()} returns {@code true}.</li>
596596
* <li>Inner class fields are not appended.</li>
597597
* </ul>
598598
*

src/main/java/org/apache/commons/lang3/math/NumberUtils.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -763,10 +763,10 @@ private static boolean isSign(final char ch) {
763763
* Given {@code s = mant + "." + dec}:
764764
* </p>
765765
* <ul>
766-
* <li>{@code true} if s is {@code "0.0"}
767-
* <li>{@code true} if s is {@code "0."}
768-
* <li>{@code true} if s is {@code ".0"}
769-
* <li>{@code false} otherwise (this assumes {@code "."} is not possible)
766+
* <li>{@code true} if s is {@code "0.0"}</li>
767+
* <li>{@code true} if s is {@code "0."}</li>
768+
* <li>{@code true} if s is {@code ".0"}</li>
769+
* <li>{@code false} otherwise (this assumes {@code "."} is not possible)</li>
770770
* </ul>
771771
*
772772
* @param mant the mantissa decimal digits before the decimal point (sign must be removed; never null).

src/main/java/org/apache/commons/lang3/mutable/MutableDouble.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,9 +188,9 @@ public double doubleValue() {
188188
* </p>
189189
* <ul>
190190
* <li>If {@code d1} and {@code d2} both represent {@code Double.NaN}, then the {@code equals} method returns {@code true}, even though
191-
* {@code Double.NaN == Double.NaN} has the value {@code false}.
191+
* {@code Double.NaN == Double.NaN} has the value {@code false}.</li>
192192
* <li>If {@code d1} represents {@code +0.0} while {@code d2} represents {@code -0.0}, or vice versa, the {@code equal} test has the value {@code false},
193-
* even though {@code +0.0 == -0.0} has the value {@code true}. This allows hashtables to operate properly.
193+
* even though {@code +0.0 == -0.0} has the value {@code true}. This allows hashtables to operate properly.</li>
194194
* </ul>
195195
*
196196
* @param obj the object to compare with, null returns false.

src/main/java/org/apache/commons/lang3/mutable/MutableFloat.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,9 +188,9 @@ public double doubleValue() {
188188
* </p>
189189
* <ul>
190190
* <li>If {@code f1} and {@code f2} both represent {@code Float.NaN}, then the {@code equals} method returns {@code true}, even though
191-
* {@code Float.NaN == Float.NaN} has the value {@code false}.
191+
* {@code Float.NaN == Float.NaN} has the value {@code false}.</li>
192192
* <li>If {@code f1} represents {@code +0.0f} while {@code f2} represents {@code -0.0f}, or vice versa, the {@code equal} test has the value {@code false},
193-
* even though {@code 0.0f == -0.0f} has the value {@code true}.
193+
* even though {@code 0.0f == -0.0f} has the value {@code true}.</li>
194194
* </ul>
195195
* <p>
196196
* This definition allows hashtables to operate properly.

src/main/java/org/apache/commons/lang3/reflect/ConstructorUtils.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ public static <T> Constructor<T> getMatchingAccessibleConstructor(final Class<T>
166166
* <li>the number of actual and formal parameters differ; or</li>
167167
* <li>an unwrapping conversion for primitive arguments fails; or</li>
168168
* <li>after possible unwrapping, a parameter value cannot be converted to the corresponding formal parameter type by a
169-
* method invocation conversion; if this constructor pertains to an enum type.
169+
* method invocation conversion; if this constructor pertains to an enum type.</li>
170170
* </ul>
171171
* @throws InstantiationException Thrown if the class that declares the underlying constructor represents an abstract class.
172172
* @throws InvocationTargetException Thrown if the underlying constructor throws an exception.
@@ -203,7 +203,7 @@ public static <T> T invokeConstructor(final Class<T> cls, final Object... args)
203203
* <li>the number of actual and formal parameters differ; or</li>
204204
* <li>an unwrapping conversion for primitive arguments fails; or</li>
205205
* <li>after possible unwrapping, a parameter value cannot be converted to the corresponding formal parameter type by a
206-
* method invocation conversion; if this constructor pertains to an enum type.
206+
* method invocation conversion; if this constructor pertains to an enum type.</li>
207207
* </ul>
208208
* @throws InstantiationException Thrown if the class that declares the underlying constructor represents an abstract class.
209209
* @throws InvocationTargetException Thrown if the underlying constructor throws an exception.
@@ -244,7 +244,7 @@ public static <T> T invokeConstructor(final Class<T> cls, final Object[] args, f
244244
* <li>the number of actual and formal parameters differ; or</li>
245245
* <li>an unwrapping conversion for primitive arguments fails; or</li>
246246
* <li>after possible unwrapping, a parameter value cannot be converted to the corresponding formal parameter type by a
247-
* method invocation conversion; if this constructor pertains to an enum type.
247+
* method invocation conversion; if this constructor pertains to an enum type.</li>
248248
* </ul>
249249
* @throws InstantiationException Thrown if the class that declares the underlying constructor represents an abstract class.
250250
* @throws InvocationTargetException Thrown if the underlying constructor throws an exception.
@@ -282,7 +282,7 @@ public static <T> T invokeExactConstructor(final Class<T> cls, final Object... a
282282
* <li>the number of actual and formal parameters differ; or</li>
283283
* <li>an unwrapping conversion for primitive arguments fails; or</li>
284284
* <li>after possible unwrapping, a parameter value cannot be converted to the corresponding formal parameter type by a
285-
* method invocation conversion; if this constructor pertains to an enum type.
285+
* method invocation conversion; if this constructor pertains to an enum type.</li>
286286
* </ul>
287287
* @throws InstantiationException Thrown if the class that declares the underlying constructor represents an abstract class.
288288
* @throws InvocationTargetException Thrown if the underlying constructor throws an exception.

src/main/java/org/apache/commons/lang3/util/FluentBitSet.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -575,9 +575,9 @@ public String toString() {
575575
* has the value {@code true} if and only if one of the following statements holds:
576576
* <ul>
577577
* <li>The bit initially has the value {@code true}, and the corresponding bit in the argument has the value
578-
* {@code false}.
578+
* {@code false}.</li>
579579
* <li>The bit initially has the value {@code false}, and the corresponding bit in the argument has the value
580-
* {@code true}.
580+
* {@code true}.</li>
581581
* </ul>
582582
*
583583
* @param set a bit set
@@ -593,9 +593,9 @@ public FluentBitSet xor(final BitSet set) {
593593
* has the value {@code true} if and only if one of the following statements holds:
594594
* <ul>
595595
* <li>The bit initially has the value {@code true}, and the corresponding bit in the argument has the value
596-
* {@code false}.
596+
* {@code false}.</li>
597597
* <li>The bit initially has the value {@code false}, and the corresponding bit in the argument has the value
598-
* {@code true}.
598+
* {@code true}.</li>
599599
* </ul>
600600
*
601601
* @param set a bit set

0 commit comments

Comments
 (0)