From: Anjo K. <an...@us...> - 2002-03-13 10:19:11
|
Update of /cvsroot/wonder/ProjectWonder/Frameworks/ERExtensionsJava In directory usw-pr-cvs1:/tmp/cvs-serv1285 Modified Files: ERXNumberFormatter.java Log Message: fixed recursive crasher Index: ERXNumberFormatter.java =================================================================== RCS file: /cvsroot/wonder/ProjectWonder/Frameworks/ERExtensionsJava/ERXNumberFormatter.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ERXNumberFormatter.java 12 Feb 2002 23:30:05 -0000 1.1 --- ERXNumberFormatter.java 13 Mar 2002 10:19:08 -0000 1.2 *************** *** 16,20 **** ////////////////////////////////////////////// log4j category ////////////////////////////////////////// public final static Category cat = Category.getInstance(ERXNumberFormatter.class); ! protected static ERXNumberFormatter _sharedInstance; public static ERXNumberFormatter sharedInstance() { --- 16,22 ---- ////////////////////////////////////////////// log4j category ////////////////////////////////////////// public final static Category cat = Category.getInstance(ERXNumberFormatter.class); ! public ERXNumberFormatter() { ! } ! protected static ERXNumberFormatter _sharedInstance; public static ERXNumberFormatter sharedInstance() { *************** *** 36,40 **** } String filteredString = new String(filteredChars, 0, count); ! return parseObject(filteredString); } } --- 38,42 ---- } String filteredString = new String(filteredChars, 0, count); ! return super.parseObject(filteredString); } } |