commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From PascalSchumacher <...@git.apache.org>
Subject [GitHub] commons-lang issue #194: add isAllBlank,isNotAllBlank method for String "nul...
Date Fri, 07 Oct 2016 15:50:14 GMT
Github user PascalSchumacher commented on the issue:

    https://github.com/apache/commons-lang/pull/194
  
    Thanks for the pull request.
    
    The method body can be shortened to `StringUtils.isBlank(cs) || StringUtils.equalsIgnoreCase(cs,
"null")`.
    
    The method would be very confusing, as the String `"null"` is not all bank.
    
    I'm sorry, but I'm -1 to adding this.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message