git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1620321 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benedikt Ritter 2014-08-25 13:13:09 +00:00
parent bc8e23808b
commit fceafc5df8

View File

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