commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject svn commit: r1101749 - /commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/converters/NumberConverter.java
Date Wed, 11 May 2011 05:13:48 GMT
Author: bayard
Date: Wed May 11 05:13:47 2011
New Revision: 1101749

URL: http://svn.apache.org/viewvc?rev=1101749&view=rev
Log:
Applying Steven Wyatt's patch from BEANUTILS-392 to fix the referenced pattern language -
DecimalFormat, not SimpleDateFormat

Modified:
    commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/converters/NumberConverter.java

Modified: commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/converters/NumberConverter.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/converters/NumberConverter.java?rev=1101749&r1=1101748&r2=1101749&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/converters/NumberConverter.java
(original)
+++ commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/converters/NumberConverter.java
Wed May 11 05:13:47 2011
@@ -74,8 +74,8 @@ import org.apache.commons.beanutils.Conv
  * </ul>
  *
  * <p>
- * <strong>N.B.</strong>Patterns can only be specified used the <i>standard</i>
- * pattern characters and NOT in <i>localized</i> form (see <code>java.text.SimpleDateFormat</code>).
+ * <strong>N.B.</strong>Patterns can only be specified using the <i>standard</i>
+ * pattern characters and NOT in <i>localized</i> form (see <code>java.text.DecimalFormat</code>).
  * For example to cater for number styles used in Germany such as <code>0.000,00</code>
the pattern
  * is specified in the normal form <code>0,000.00</code> and the locale set to
<code>Locale.GERMANY</code>.
  *
@@ -145,7 +145,7 @@ public abstract class NumberConverter ex
      * Numbers to/from a <code>java.lang.String</code>
      * (or <code>null</code> if none specified).
      * <p>
-     * See <code>java.text.SimpleDateFormat</code> for details
+     * See <code>java.text.DecimalFormat</code> for details
      * of how to specify the pattern.
      *
      * @return The format pattern.
@@ -158,7 +158,7 @@ public abstract class NumberConverter ex
      * Set a number format pattern to use to convert
      * Numbers to/from a <code>java.lang.String</code>.
      * <p>
-     * See <code>java.text.SimpleDateFormat</code> for details
+     * See <code>java.text.DecimalFormat</code> for details
      * of how to specify the pattern.
      *
      * @param pattern The format pattern.



Mime
View raw message