Skip to content

Commit 17c6df5

Browse files
committed
Javadoc
1 parent ed50d02 commit 17c6df5

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

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

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ public static String abbreviate(final String str, final int maxWidth) {
243243
* <p>
244244
* Works like {@code abbreviate(String, int)}, but allows you to specify a "left edge" offset. Note that this left edge is not necessarily going to be the
245245
* leftmost character in the result, or the first character following the ellipses, but it will appear somewhere in the result.
246-
*
246+
* </p>
247247
* <p>
248248
* In no case will it return a String of length greater than {@code maxWidth}.
249249
* </p>
@@ -320,7 +320,7 @@ public static String abbreviate(final String str, final String abbrevMarker, fin
320320
* <p>
321321
* Works like {@code abbreviate(String, String, int)}, but allows you to specify a "left edge" offset. Note that this left edge is not necessarily going to
322322
* be the leftmost character in the result, or the first character following the replacement marker, but it will appear somewhere in the result.
323-
*
323+
* </p>
324324
* <p>
325325
* In no case will it return a String of length greater than {@code maxWidth}.
326326
* </p>
@@ -1166,6 +1166,7 @@ public static boolean containsAnyIgnoreCase(final CharSequence cs, final CharSeq
11661166
*
11671167
* <p>
11681168
* A {@code null} CharSequence will return {@code false}.
1169+
* </p>
11691170
*
11701171
* <pre>
11711172
* StringUtils.containsIgnoreCase(null, *) = false
@@ -2656,6 +2657,7 @@ public static int indexOf(final CharSequence seq, final int searchChar) {
26562657
* </p>
26572658
* <p>
26582659
* All indices are specified in {@code char} values (Unicode code units).
2660+
* </p>
26592661
*
26602662
* <pre>
26612663
* StringUtils.indexOf(null, *, *) = -1
@@ -6400,7 +6402,7 @@ public static String replaceEach(final String text, final String[] searchList, f
64006402
private static String replaceEach(
64016403
final String text, final String[] searchList, final String[] replacementList, final boolean repeat, final int timeToLive) {
64026404

6403-
// mchyzer Performance note: This creates very few new objects (one major goal)
6405+
// Performance note: This creates very few new objects (one major goal)
64046406
// let me know if there are performance requests, we can create a harness to measure
64056407
if (isEmpty(text) || ArrayUtils.isEmpty(searchList) || ArrayUtils.isEmpty(replacementList)) {
64066408
return text;
@@ -8180,6 +8182,7 @@ public static String substring(final String str, int start, int end) {
81808182
*
81818183
* <p>
81828184
* A {@code null} string input will return {@code null}. An empty ("") string input will return the empty string.
8185+
* </p>
81838186
*
81848187
* <p>
81858188
* If nothing is found, the empty string is returned.
@@ -8258,6 +8261,7 @@ public static String substringAfter(final String str, final String find) {
82588261
*
82598262
* <p>
82608263
* A {@code null} string input will return {@code null}. An empty ("") string input will return the empty string.
8264+
* </p>
82618265
*
82628266
* <p>
82638267
* If nothing is found, the empty string is returned.
@@ -8729,6 +8733,7 @@ public static String trim(final String str) {
87298733
*
87308734
* <p>
87318735
* The String is trimmed using {@link String#trim()}. Trim removes start and end characters &lt;= 32. To strip whitespace use {@link #stripToEmpty(String)}.
8736+
* </p>
87328737
*
87338738
* <pre>
87348739
* StringUtils.trimToEmpty(null) = ""
@@ -8752,6 +8757,7 @@ public static String trimToEmpty(final String str) {
87528757
*
87538758
* <p>
87548759
* The String is trimmed using {@link String#trim()}. Trim removes start and end characters &lt;= 32. To strip whitespace use {@link #stripToNull(String)}.
8760+
* </p>
87558761
*
87568762
* <pre>
87578763
* StringUtils.trimToNull(null) = null
@@ -8809,6 +8815,7 @@ public static String truncate(final String str, final int maxWidth) {
88098815
*
88108816
* <p>
88118817
* Works like {@code truncate(String, int)}, but allows you to specify a "left edge" offset.
8818+
* </p>
88128819
*
88138820
* <p>
88148821
* Specifically:

0 commit comments

Comments
 (0)