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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

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

Gilles (Jira)

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

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_r315990197

 File path: src/main/java/org/apache/commons/lang3/StringUtils.java
 @@ -3575,7 +3575,7 @@ public static boolean isMixedCase(final CharSequence cs) {
      * <p>Whitespace is defined by {@link Character#isWhitespace(char)}.</p>
      * <pre>
-     * StringUtils.isNoneBlank((String) null)    = false
+     * StringUtils.isNoneBlank((String) null)    = true
 Review comment:
   This one gave me `false`, as before.
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:
[hidden email]

Issue Time Tracking

            Worklog Id:     (was: 298426)
    Remaining Estimate: 0h  (was: 5m)
            Time Spent: 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: 10m
>  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