Partha-SUST16 opened a new pull request, #1621: URL: https://github.com/apache/commons-lang/pull/1621
Fixed the javadoc described in the issue [LANG_1820](https://issues.apache.org/jira/browse/LANG-1820) The Javadoc for `ObjectUtils.anyNull(Object...)` incorrectly `@param` stated that `true should be returned when the array is null or empty`. However, the current implementation delegates to `!allNotNull(values)`, and `allNotNull()` returns `true `for empty arrays, causing `anyNull()` to return false for empty arrays. There already exists a test that verifies this behaviour located in `org.apache.commons.lang3.ObjectUtilsTest.testAnyNull` that `anyNull` returns false for empty array. So updated the javadoc to reflect this behaviour. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
