You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lu...@apache.org on 2013/10/16 00:18:03 UTC

svn commit: r1532561 - /myfaces/core/branches/1.2.x/api/src/main/java/javax/faces/convert/NumberConverter.java

Author: lu4242
Date: Tue Oct 15 22:18:03 2013
New Revision: 1532561

URL: http://svn.apache.org/r1532561
Log:
MYFACES-3578 NumberConverter: implement workaround for http://bugs.sun.com/view_bug.do?bug_id=4510618 (thanks to Martin Koci for provide this patch)

Modified:
    myfaces/core/branches/1.2.x/api/src/main/java/javax/faces/convert/NumberConverter.java

Modified: myfaces/core/branches/1.2.x/api/src/main/java/javax/faces/convert/NumberConverter.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/1.2.x/api/src/main/java/javax/faces/convert/NumberConverter.java?rev=1532561&r1=1532560&r2=1532561&view=diff
==============================================================================
--- myfaces/core/branches/1.2.x/api/src/main/java/javax/faces/convert/NumberConverter.java (original)
+++ myfaces/core/branches/1.2.x/api/src/main/java/javax/faces/convert/NumberConverter.java Tue Oct 15 22:18:03 2013
@@ -133,6 +133,7 @@ public class NumberConverter
                 {
                   dfs.setGroupingSeparator(' ');
                   df.setDecimalFormatSymbols(dfs);
+                  value = value.replace('\u00a0', ' ');
                   changed = true;
                 }