You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2019/08/21 04:02:00 UTC

[jira] [Work logged] (LANG-1474) JavaDoc was not updated of isAnyXXX in StringUtils

     [ https://issues.apache.org/jira/browse/LANG-1474?focusedWorklogId=298429&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-298429 ]

ASF GitHub Bot logged work on LANG-1474:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 21/Aug/19 04:01
            Start Date: 21/Aug/19 04:01
    Worklog Time Spent: 10m 
      Work Description: kinow commented on pull request #442: LANG-1474 documentation correction
URL: https://github.com/apache/commons-lang/pull/442#discussion_r315990126
 
 

 ##########
 File path: src/main/java/org/apache/commons/lang3/StringUtils.java
 ##########
 @@ -3402,7 +3402,7 @@ public static boolean isAnyBlank(final CharSequence... css) {
      * <p>Checks if any of the CharSequences are empty ("") or null.</p>
      *
      * <pre>
-     * StringUtils.isAnyEmpty((String) null)    = true
+     * StringUtils.isAnyEmpty((String) null)    = false
 
 Review comment:
   Ditto above for me.
 
----------------------------------------------------------------
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:
users@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 298429)
    Time Spent: 20m  (was: 10m)

> JavaDoc was not updated of isAnyXXX in StringUtils
> --------------------------------------------------
>
>                 Key: LANG-1474
>                 URL: https://issues.apache.org/jira/browse/LANG-1474
>             Project: Commons Lang
>          Issue Type: Bug
>          Components: lang.*
>    Affects Versions: 3.9
>         Environment: Any environment.
>            Reporter: Peter Verhas
>            Priority: Trivial
>              Labels: doc_cleanup
>   Original Estimate: 5m
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> The behavior of {{isAnyBlank}} and {{isAnyEmpty}} has changed for {{null}} argument from version 2.5 to 3.9. The documentation, however, was not changed. It still says
> {{                           StringUtils.isAnyEmpty((String) null) = true}}
> and similarly for {{isAnyBlank}}.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)