Author: jacopoc
Date: Mon Aug 7 06:23:03 2006
New Revision: 429334
URL:
http://svn.apache.org/viewvc?rev=429334&view=revLog:
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) {