diff --git a/src/main/java/org/apache/commons/lang3/StringUtils.java b/src/main/java/org/apache/commons/lang3/StringUtils.java index 14ff0b291..3f24c4426 100644 --- a/src/main/java/org/apache/commons/lang3/StringUtils.java +++ b/src/main/java/org/apache/commons/lang3/StringUtils.java @@ -1603,7 +1603,7 @@ public class StringUtils { * character not in the given set of characters.

* *

A null String will return -1. - * A null search string will return -1.

+ * A null or empty search string will return -1.

* *
      * StringUtils.indexOfAnyBut(null, *)            = -1