Skip to content

Commit

Permalink
Javadoc: Add an example
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed Jan 31, 2025
1 parent 063a9ff commit 899358b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/org/apache/commons/lang3/StringUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -2591,6 +2591,7 @@ public static int indexOf(final CharSequence seq, final CharSequence searchSeq,
* StringUtils.indexOf("", *) = -1
* StringUtils.indexOf("aabaabaa", 'a') = 0
* StringUtils.indexOf("aabaabaa", 'b') = 2
* StringUtils.indexOf("aaaaaaaa", 'Z') = -1
* </pre>
*
* @param seq the CharSequence to check, may be null
Expand Down

0 comments on commit 899358b

Please sign in to comment.