raj76kk commented on a change in pull request #522:
URL: https://github.com/apache/commons-lang/pull/522#discussion_r420615217



##########
File path: src/main/java/org/apache/commons/lang3/ObjectUtils.java
##########
@@ -277,6 +277,33 @@ public static boolean isNotEmpty(final Object object) {
         return object != null ? object : defaultSupplier == null ? null : 
defaultSupplier.get();
     }
 
+    /**
+     * Checks if any value in the given array is {@code null}.
+     *
+     * <p>
+     * If all the values are {@code null} or the array is {@code null}
+     * or empty, then {@code true} is returned, otherwise {@code false} is 
returned.

Review comment:
       Wrong method doc. Shouldn't it be?
   
   ```suggestion
        * If any the values are {@code null} or the array is {@code null},
        * then {@code true} is returned, otherwise {@code false} is returned.
   ```




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to