Skip to content
Permalink
Browse files

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
  • Loading branch information
mthl committed May 25, 2019
1 parent b24f702 commit 87a02f4ca717d7b8f8af79e10994f5e1566dc9fe
Showing with 0 additions and 10 deletions.
  1. +0 −10 framework/base/src/main/java/org/apache/ofbiz/base/util/StringUtil.java
@@ -425,16 +425,6 @@ public static String convertOperatorSubstitutions(String expression) {
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
*

0 comments on commit 87a02f4

Please sign in to comment.
You can’t perform that action at this time.