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 2026/03/28 20:13:54 UTC

(commons-lang) branch master updated: [LANG-1820][javadoc] Fix ObjectUtils.anyNull(Object) for empty arrays

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 1d25499cb [LANG-1820][javadoc] Fix ObjectUtils.anyNull(Object) for empty arrays
1d25499cb is described below

commit 1d25499cbce483544092bd69521ab62fcfdf775f
Author: Partha Protim Paul <pp...@gmail.com>
AuthorDate: Sat Mar 28 13:13:49 2026 -0700

    [LANG-1820][javadoc] Fix ObjectUtils.anyNull(Object) for empty arrays
---
 src/main/java/org/apache/commons/lang3/ObjectUtils.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/org/apache/commons/lang3/ObjectUtils.java b/src/main/java/org/apache/commons/lang3/ObjectUtils.java
index d07feb2a4..93c1a3dd0 100644
--- a/src/main/java/org/apache/commons/lang3/ObjectUtils.java
+++ b/src/main/java/org/apache/commons/lang3/ObjectUtils.java
@@ -213,8 +213,8 @@ public static boolean anyNotNull(final Object... values) {
      * </pre>
      *
      * @param values the values to test, may be {@code null} or empty.
-     * @return {@code true} if there is at least one {@code null} value in the array, {@code false} if all the values are non-null. If the array is {@code null}
-     *         or empty, {@code true} is also returned.
+     * @return {@code true} if there is at least one {@code null} value in the array, {@code false} if all the values are non-null or the array is empty. If the array is {@code null},
+     *         {@code true} is also returned.
      * @since 3.11
      */
     public static boolean anyNull(final Object... values) {