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 2025/07/19 02:48:20 UTC

(commons-lang) branch master updated: Strings::equalsAny: CI doc string should show it's insensitive (#1416)

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 d594eae00 Strings::equalsAny: CI doc string should show it's insensitive (#1416)
d594eae00 is described below

commit d594eae00258b613df2371c49629cd54efea5b12
Author: Scott Parish <80...@users.noreply.github.com>
AuthorDate: Fri Jul 18 19:48:15 2025 -0700

    Strings::equalsAny: CI doc string should show it's insensitive (#1416)
---
 src/main/java/org/apache/commons/lang3/Strings.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/commons/lang3/Strings.java b/src/main/java/org/apache/commons/lang3/Strings.java
index 31c3ef79b..5dd08a22a 100644
--- a/src/main/java/org/apache/commons/lang3/Strings.java
+++ b/src/main/java/org/apache/commons/lang3/Strings.java
@@ -746,7 +746,7 @@ public boolean endsWithAny(final CharSequence sequence, final CharSequence... se
      * Strings.CI.equalsAny(null, "abc", "def")  = false
      * Strings.CI.equalsAny("abc", null, "def")  = false
      * Strings.CI.equalsAny("abc", "abc", "def") = true
-     * Strings.CI.equalsAny("abc", "ABC", "DEF") = false
+     * Strings.CI.equalsAny("abc", "ABC", "DEF") = true
      * </pre>
      *
      * @param string        to compare, may be {@code null}.