diff --git a/src/main/java/org/apache/commons/lang3/CharSequenceUtils.java b/src/main/java/org/apache/commons/lang3/CharSequenceUtils.java
index 88d73733a..e35f5aa88 100644
--- a/src/main/java/org/apache/commons/lang3/CharSequenceUtils.java
+++ b/src/main/java/org/apache/commons/lang3/CharSequenceUtils.java
@@ -69,12 +69,12 @@ public class CharSequenceUtils {
* of searchChar
in the range from 0 to 0xFFFF (inclusive),
* this is the smallest value k such that:
*
* is true. For other values of- * (this.charAt(k) == searchChar) && (k >= start) + * (this.charAt(k) == searchChar) && (k >= start) *
searchChar
, it is the
* smallest value k such that:
* * is true. In either case, if no such character occurs inm- * (this.codePointAt(k) == searchChar) && (k >= start) + * (this.codePointAt(k) == searchChar) && (k >= start) *
cs
* at or after position start
, then
@@ -153,12 +153,12 @@ public class CharSequenceUtils {
* from 0 to 0xFFFF (inclusive), the index returned is the largest
* value k such that:
* * is true. For other values of- * (this.charAt(k) == searchChar) && (k <= start) + * (this.charAt(k) == searchChar) && (k <= start) *
searchChar
, it is the
* largest value k such that:
* * is true. In either case, if no such character occurs in- * (this.codePointAt(k) == searchChar) && (k <= start) + * (this.codePointAt(k) == searchChar) && (k <= start) *
cs
* at or before position start
, then -1
is returned.
diff --git a/src/main/java/org/apache/commons/lang3/StringUtils.java b/src/main/java/org/apache/commons/lang3/StringUtils.java
index 357e8c5f5..dcb335ded 100644
--- a/src/main/java/org/apache/commons/lang3/StringUtils.java
+++ b/src/main/java/org/apache/commons/lang3/StringUtils.java
@@ -1331,12 +1331,12 @@ public class StringUtils {
* of searchChar
in the range from 0 to 0xFFFF (inclusive),
* this is the smallest value k such that:
* * is true. For other values of- * (this.charAt(k) == searchChar) && (k >= startPos) + * (this.charAt(k) == searchChar) && (k >= startPos) *
searchChar
, it is the
* smallest value k such that:
* * is true. In either case, if no such character occurs in- * (this.codePointAt(k) == searchChar) && (k >= startPos) + * (this.codePointAt(k) == searchChar) && (k >= startPos) *
seq
* at or after position startPos
, then
@@ -1677,12 +1677,12 @@ public class StringUtils {
* from 0 to 0xFFFF (inclusive), the index returned is the largest
* value k such that:
* * is true. For other values of- * (this.charAt(k) == searchChar) && (k <= startPos) + * (this.charAt(k) == searchChar) && (k <= startPos) *
searchChar
, it is the
* largest value k such that:
* * is true. In either case, if no such character occurs in- * (this.codePointAt(k) == searchChar) && (k <= startPos) + * (this.codePointAt(k) == searchChar) && (k <= startPos) *
seq
* at or before position startPos
, then