Isira-Seneviratne commented on pull request #522: URL: https://github.com/apache/commons-lang/pull/522#issuecomment-624506904
On Wed, May 6, 2020, 1:44 PM Rajesh Kumar Karnena <[email protected]> wrote: > *@raj76kk* commented on this pull request. > > Method doc is incorrect > ------------------------------ > > In src/main/java/org/apache/commons/lang3/ObjectUtils.java > <https://github.com/apache/commons-lang/pull/522#discussion_r420615217>: > > > + * 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. > > Wrong method doc. Shouldn't it be? > If any of the values are {@code null} or the array is {@code null}, then > {@code true} is returned, otherwise {@code false} is returned > ------------------------------ > > In src/main/java/org/apache/commons/lang3/ObjectUtils.java > <https://github.com/apache/commons-lang/pull/522#discussion_r420615752>: > > > + * ObjectUtils.anyNull(*, null) = false > + * ObjectUtils.anyNull(null, *) = false > + * ObjectUtils.anyNull(null, null, *, *) = false > > Incorrect examples > > — > You are receiving this because you authored the thread. > Reply to this email directly, view it on GitHub > <https://github.com/apache/commons-lang/pull/522#pullrequestreview-406388821>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AHMXFEW7JXTI2Q5V52UA6JTRQEL6FANCNFSM4MMCUNVQ> > . > My bad, thanks! > ---------------------------------------------------------------- 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]
