myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bara...@apache.org
Subject svn commit: r278693 - /myfaces/api/trunk/src/java/javax/faces/convert/NumberConverter.java
Date Mon, 05 Sep 2005 08:42:38 GMT
Author: baranda
Date: Mon Sep  5 01:42:34 2005
New Revision: 278693

URL: http://svn.apache.org/viewcvs?rev=278693&view=rev
Log:
NumberConverter had a wrong type 'percentage' in the getNumberFormat method. 7 TCK tests failes
because of this:

Modified:
    myfaces/api/trunk/src/java/javax/faces/convert/NumberConverter.java

Modified: myfaces/api/trunk/src/java/javax/faces/convert/NumberConverter.java
URL: http://svn.apache.org/viewcvs/myfaces/api/trunk/src/java/javax/faces/convert/NumberConverter.java?rev=278693&r1=278692&r2=278693&view=diff
==============================================================================
--- myfaces/api/trunk/src/java/javax/faces/convert/NumberConverter.java (original)
+++ myfaces/api/trunk/src/java/javax/faces/convert/NumberConverter.java Mon Sep  5 01:42:34
2005
@@ -153,7 +153,7 @@
         {
             return NumberFormat.getCurrencyInstance(lokale);
         }
-        else if (_type.equals("percentage"))
+        else if (_type.equals("percent"))
         {
             return NumberFormat.getPercentInstance(lokale);
         }



Mime
View raw message