mirror of
https://github.com/apache/commons-lang.git
synced 2025-02-06 10:08:32 +00:00
Format.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1125416 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
facd90be6f
commit
0431c59fe0
@ -6366,7 +6366,7 @@ private static boolean endsWith(CharSequence str, CharSequence suffix, boolean i
|
||||
* @since 3.0
|
||||
*/
|
||||
public static String normalizeSpace(String str) {
|
||||
if(str == null) {
|
||||
if (str == null) {
|
||||
return null;
|
||||
}
|
||||
return WHITESPACE_BLOCK.matcher(trim(str)).replaceAll(" ");
|
||||
|
Loading…
x
Reference in New Issue
Block a user