Author: mthl
Date: Sat May 25 09:24:37 2019
New Revision: 1859929

URL: http://svn.apache.org/viewvc?rev=1859929&view=rev
Log:
Improved: Remove unused ‘StringUtil#collapseNewlines’ method
(OFBIZ-11014)

Modified:
    
ofbiz/ofbiz-framework/trunk/framework/base/src/main/java/org/apache/ofbiz/base/util/StringUtil.java

Modified: 
ofbiz/ofbiz-framework/trunk/framework/base/src/main/java/org/apache/ofbiz/base/util/StringUtil.java
URL: 
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/framework/base/src/main/java/org/apache/ofbiz/base/util/StringUtil.java?rev=1859929&r1=1859928&r2=1859929&view=diff
==============================================================================
--- 
ofbiz/ofbiz-framework/trunk/framework/base/src/main/java/org/apache/ofbiz/base/util/StringUtil.java
 (original)
+++ 
ofbiz/ofbiz-framework/trunk/framework/base/src/main/java/org/apache/ofbiz/base/util/StringUtil.java
 Sat May 25 09:24:37 2019
@@ -426,16 +426,6 @@ public class StringUtil {
     }
 
     /**
-     * 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
      *
      * @param str string to collapse spaces in


Reply via email to