You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Dominik Stadler (JIRA)" <ji...@apache.org> on 2016/08/18 08:31:21 UTC
[jira] [Updated] (LANG-1259) JavaDoc for ArrayUtils.isNotEmpty() is
slightly misleading
[ https://issues.apache.org/jira/browse/LANG-1259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dominik Stadler updated LANG-1259:
----------------------------------
Description:
JavaDoc states {{if the array is not empty or not null}}, however actually it is {{if the array is not empty and not null}}, i.e. "and" instead of "or". Looks like a small copy/paste error from "isEmpty()"
Attached patch fixes all the instances.
was:
JavaDoc states "if the array is not empty or not {@code null}", however actually it is "if the array is not empty and not {@code null}", i.e. "and" instead of "or". Looks like a small copy/paste error from "isEmpty()"
Attached patch fixes all the instances.
> JavaDoc for ArrayUtils.isNotEmpty() is slightly misleading
> ----------------------------------------------------------
>
> Key: LANG-1259
> URL: https://issues.apache.org/jira/browse/LANG-1259
> Project: Commons Lang
> Issue Type: Improvement
> Reporter: Dominik Stadler
> Priority: Minor
> Labels: PatchAvailable
> Attachments: ArrayUtils.isNotEmpty.patch
>
>
> JavaDoc states {{if the array is not empty or not null}}, however actually it is {{if the array is not empty and not null}}, i.e. "and" instead of "or". Looks like a small copy/paste error from "isEmpty()"
> Attached patch fixes all the instances.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)