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 pull request: LANG-1184: StringUtils#normalizeSpace n...
Date Sun, 17 Jan 2016 17:39:54 GMT
Github user PascalSchumacher commented on the pull request:

    https://github.com/apache/commons-lang/pull/113#issuecomment-172357021
  
    @hen  Thanks again for the in-depth review.
    
    Part of the is `isEmpty()` is necessary, because `normalizeSpace` has to return `null`
for `null` parameters according to javadoc `@return the modified string with whitespace normalized,
{@code null} if null String input`
    
    I have updated the pull request and replaced the is `isEmpty()` check by `str == null`.
    
    I have also updated javadoc to reflect that non-breaking space is normalized.


---
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