svn commit: r1859930 - /ofbiz/ofbiz-framework/trunk/framework/base/src/main/java/org/apache/ofbiz/base/util/StringUtil.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1859930 - /ofbiz/ofbiz-framework/trunk/framework/base/src/main/java/org/apache/ofbiz/base/util/StringUtil.java

mthl
Author: mthl
Date: Sat May 25 09:25:41 2019
New Revision: 1859930

URL: http://svn.apache.org/viewvc?rev=1859930&view=rev
Log:
Improved: Remove unused ‘StringUtil#collapseSpaces’ 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=1859930&r1=1859929&r2=1859930&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:25:41 2019
@@ -426,16 +426,6 @@ public class StringUtil {
     }
 
     /**
-     * Remove/collapse multiple spaces
-     *
-     * @param str string to collapse spaces in
-     * @return the converted string
-     */
-    public static String collapseSpaces(String str) {
-        return collapseCharacter(str, ' ');
-    }
-
-    /**
      * Remove/collapse multiple characters
      *
      * @param str string to collapse characters in