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
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -5347,10 +5347,10 @@ public static String mid(final String str, int pos, final int len) {
5347
5347
* Similar to <a href="https://www.w3.org/TR/xpath/#function-normalize-space">https://www.w3.org/TR/xpath/#function-normalize -space</a>
5348
5348
*
5349
5349
* <p>
5350
-
* The function returns the argument string with whitespace normalized by using {@code {@link #trim(String)}} to remove leading and trailing whitespace and
5350
+
* This function returns the argument string with whitespace normalized by using {@code {@link #trim(String)}} to remove leading and trailing whitespace and
5351
5351
* then replacing sequences of whitespace characters by a single space.
5352
5352
* </p>
5353
-
* In XML Whitespace characters are the same as those allowed by the <a href="https://www.w3.org/TR/REC-xml/#NT-S">S</a> production, which is S ::= (#x20 |
5353
+
* In XML, whitespace characters are the same as those allowed by the <a href="https://www.w3.org/TR/REC-xml/#NT-S">S</a> production, which is S ::= (#x20 |
5354
5354
* #x9 | #xD | #xA)+
5355
5355
* <p>
5356
5356
* Java's regexp pattern \s defines whitespace as [ \t\n\x0B\f\r]
@@ -5368,7 +5368,7 @@ public static String mid(final String str, int pos, final int len) {
5368
5368
* </ul>
5369
5369
*
5370
5370
* <p>
5371
-
* The difference is that Java's whitespace includes vertical tab and form feed, which this functional will also normalize. Additionally {@code {@link
5371
+
* The difference is that Java's whitespace includes vertical tab and form feed, which this function will also normalize. Additionally {@code {@link
5372
5372
* #trim(String)}} removes control characters (char <= 32) from both ends of this String.
* Finds the n-th index within a CharSequence, handling {@code null}. This method uses {@link String#indexOf(String)} if possible.
5415
5415
* <p>
5416
5416
* <strong>Note:</strong> The code starts looking for a match at the start of the target, incrementing the starting index by one after each successful match
5417
-
* (unless {@code searchStr} is an empty string in which case the position is never incremented and {@code 0} is returned immediately). This means that
5417
+
* (unless {@code searchStr} is an empty string, in which case the position is never incremented and {@code 0} is returned immediately). This means that
5418
5418
* matches may overlap.
5419
5419
* </p>
5420
5420
* <p>
@@ -5472,7 +5472,7 @@ public static int ordinalIndexOf(final CharSequence str, final CharSequence sear
5472
5472
/**
5473
5473
* Finds the n-th index within a String, handling {@code null}. This method uses {@link String#indexOf(String)} if possible.
0 commit comments