Skip to content

Commit 87a02f4

Browse files
committed
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
1 parent b24f702 commit 87a02f4

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

framework/base/src/main/java/org/apache/ofbiz/base/util/StringUtil.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -425,16 +425,6 @@ public static String convertOperatorSubstitutions(String expression) {
425425
return result;
426426
}
427427

428-
/**
429-
* Remove/collapse multiple newline characters
430-
*
431-
* @param str string to collapse newlines in
432-
* @return the converted string
433-
*/
434-
public static String collapseNewlines(String str) {
435-
return collapseCharacter(str, '\n');
436-
}
437-
438428
/**
439429
* Remove/collapse multiple spaces
440430
*

0 commit comments

Comments
 (0)