Skip to content

Commit

Permalink
Improved: Remove unused ‘StringUtil#collapseNewlines’ method
Browse files Browse the repository at this point in the history
(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 87a02f4
Showing 1 changed file with 0 additions and 10 deletions.
Expand Up @@ -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
*
Expand Down

0 comments on commit 87a02f4

Please sign in to comment.