Improved: Remove unused ‘StringUtil#collapseSpaces’ method
(OFBIZ-11014) git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1859930 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -425,16 +425,6 @@ public class StringUtil {
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove/collapse multiple spaces
|
||||
*
|
||||
* @param str string to collapse spaces in
|
||||
* @return the converted string
|
||||
*/
|
||||
public static String collapseSpaces(String str) {
|
||||
return collapseCharacter(str, ' ');
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove/collapse multiple characters
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user