git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1125416 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary D. Gregory 2011-05-20 14:33:17 +00:00
parent facd90be6f
commit 0431c59fe0
1 changed files with 1 additions and 1 deletions

View File

@ -6366,7 +6366,7 @@ public class StringUtils {
* @since 3.0
*/
public static String normalizeSpace(String str) {
if(str == null) {
if (str == null) {
return null;
}
return WHITESPACE_BLOCK.matcher(trim(str)).replaceAll(" ");