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