You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2023/02/11 15:33:00 UTC

[commons-lang] branch master updated: added example for space in indexOfIgnoreCase (#1009)

This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-lang.git


The following commit(s) were added to refs/heads/master by this push:
     new 3da149382 added example for space in indexOfIgnoreCase (#1009)
3da149382 is described below

commit 3da149382fcc8c8880cc96aba2c93cc575cc4970
Author: Anil Kelwalkar <ke...@users.noreply.github.com>
AuthorDate: Sat Feb 11 08:32:54 2023 -0700

    added example for space in indexOfIgnoreCase (#1009)
---
 src/main/java/org/apache/commons/lang3/StringUtils.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/main/java/org/apache/commons/lang3/StringUtils.java b/src/main/java/org/apache/commons/lang3/StringUtils.java
index 0f589516d..9f2b18f50 100644
--- a/src/main/java/org/apache/commons/lang3/StringUtils.java
+++ b/src/main/java/org/apache/commons/lang3/StringUtils.java
@@ -3092,6 +3092,7 @@ public class StringUtils {
      * StringUtils.indexOfIgnoreCase(null, *)          = -1
      * StringUtils.indexOfIgnoreCase(*, null)          = -1
      * StringUtils.indexOfIgnoreCase("", "")           = 0
+     * StringUtils.indexOfIgnoreCase(" ", " ")         = 0
      * StringUtils.indexOfIgnoreCase("aabaabaa", "a")  = 0
      * StringUtils.indexOfIgnoreCase("aabaabaa", "b")  = 2
      * StringUtils.indexOfIgnoreCase("aabaabaa", "ab") = 1