commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From PascalSchumacher <>
Subject [GitHub] commons-lang pull request: LANG-1184: StringUtils#normalizeSpace n...
Date Sun, 17 Jan 2016 17:23:50 GMT
Github user PascalSchumacher commented on the pull request:
    @garydgregory @hen Thanks for the reviews. :)
    As mentioned in the jira issue the goal of this pull request is not to add anything, but
to restore pre-3.4 functionality: 
    These work with 3.3.2, but fail with 3.4:
    assertEquals("a b", StringUtils.normalizeSpace("a\u00A0 b"));
    assertEquals("b", StringUtils.normalizeSpace("b\u0000"));
    while keeping in place most of the performance improvement added in

    I used same tests and
there is only a 10% performance regression for the restored pre-3.4 behavior (the trimming
of the string and the normalization of non-braking spaces). 

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 or file a JIRA ticket
with INFRA.

View raw message