svn commit: r429334 - /incubator/ofbiz/trunk/framework/base/src/base/org/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: r429334 - /incubator/ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/StringUtil.java

jacopoc
Author: jacopoc
Date: Mon Aug  7 06:23:03 2006
New Revision: 429334

URL: http://svn.apache.org/viewvc?rev=429334&view=rev
Log:
removeSpaces method was indeed removing digits.

Modified:
    incubator/ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/StringUtil.java

Modified: incubator/ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/StringUtil.java
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/StringUtil.java?rev=429334&r1=429333&r2=429334&view=diff
==============================================================================
--- incubator/ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/StringUtil.java (original)
+++ incubator/ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/StringUtil.java Mon Aug  7 06:23:03 2006
@@ -262,7 +262,7 @@
     
     /** Removes all spaces from a string */
     public static String removeSpaces(String str) {
-     return removeRegex(str,"[\\d]");
+     return removeRegex(str,"[\\ ]");
     }
 
  public static String toHexString(byte[] bytes) {