You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/java/org/apache/commons/lang3/StringUtils.java
+10-3Lines changed: 10 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -243,7 +243,7 @@ public static String abbreviate(final String str, final int maxWidth) {
243
243
* <p>
244
244
* 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
245
245
* leftmost character in the result, or the first character following the ellipses, but it will appear somewhere in the result.
246
-
*
246
+
* </p>
247
247
* <p>
248
248
* In no case will it return a String of length greater than {@code maxWidth}.
249
249
* </p>
@@ -320,7 +320,7 @@ public static String abbreviate(final String str, final String abbrevMarker, fin
320
320
* <p>
321
321
* 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
322
322
* 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>
324
324
* <p>
325
325
* In no case will it return a String of length greater than {@code maxWidth}.
326
326
* </p>
@@ -1166,6 +1166,7 @@ public static boolean containsAnyIgnoreCase(final CharSequence cs, final CharSeq
1166
1166
*
1167
1167
* <p>
1168
1168
* A {@code null} CharSequence will return {@code false}.
1169
+
* </p>
1169
1170
*
1170
1171
* <pre>
1171
1172
* StringUtils.containsIgnoreCase(null, *) = false
@@ -2656,6 +2657,7 @@ public static int indexOf(final CharSequence seq, final int searchChar) {
2656
2657
* </p>
2657
2658
* <p>
2658
2659
* All indices are specified in {@code char} values (Unicode code units).
2660
+
* </p>
2659
2661
*
2660
2662
* <pre>
2661
2663
* StringUtils.indexOf(null, *, *) = -1
@@ -6400,7 +6402,7 @@ public static String replaceEach(final String text, final String[] searchList, f
* The String is trimmed using {@link String#trim()}. Trim removes start and end characters <= 32. To strip whitespace use {@link #stripToEmpty(String)}.
* The String is trimmed using {@link String#trim()}. Trim removes start and end characters <= 32. To strip whitespace use {@link #stripToNull(String)}.
8760
+
* </p>
8755
8761
*
8756
8762
* <pre>
8757
8763
* StringUtils.trimToNull(null) = null
@@ -8809,6 +8815,7 @@ public static String truncate(final String str, final int maxWidth) {
8809
8815
*
8810
8816
* <p>
8811
8817
* Works like {@code truncate(String, int)}, but allows you to specify a "left edge" offset.
0 commit comments