mirror of
https://github.com/apache/commons-lang.git
synced 2025-02-08 02:58:33 +00:00
Fix typo
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1620321 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
bc8e23808b
commit
fceafc5df8
@ -7467,7 +7467,7 @@ private static boolean endsWith(final CharSequence str, final CharSequence suffi
|
||||
* @since 3.0
|
||||
*/
|
||||
public static String normalizeSpace(final String str) {
|
||||
// LANG-1020: Improved performance significantly normalizing manually instead of using regex
|
||||
// LANG-1020: Improved performance significantly by normalizing manually instead of using regex
|
||||
// See https://github.com/librucha/commons-lang-normalizespaces-benchmark for performance test
|
||||
if (isEmpty(str)) {
|
||||
return str;
|
||||
|
Loading…
x
Reference in New Issue
Block a user