harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From py...@apache.org
Subject svn commit: r540914 - /harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/DecimalFormat.java
Date Wed, 23 May 2007 10:04:58 GMT
Author: pyang
Date: Wed May 23 03:04:57 2007
New Revision: 540914

URL: http://svn.apache.org/viewvc?view=rev&rev=540914
Log:
Apply patch for HARMONY-3937([classlib] [text] Mistake in java.text.DecimalFormat)

Modified:
    harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/DecimalFormat.java

Modified: harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/DecimalFormat.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/DecimalFormat.java?view=diff&rev=540914&r1=540913&r2=540914
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/DecimalFormat.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/DecimalFormat.java
Wed May 23 03:04:57 2007
@@ -820,7 +820,7 @@
             throw new InvalidObjectException(Messages.getString("text.09")); //$NON-NLS-1$
         }
         if (serialVersionOnStream < 3) {
-            setMaximumIntegerDigits(super.getMinimumIntegerDigits());
+            setMaximumIntegerDigits(super.getMaximumIntegerDigits());
             setMinimumIntegerDigits(super.getMinimumIntegerDigits());
             setMaximumFractionDigits(super.getMaximumFractionDigits());
             setMinimumFractionDigits(super.getMinimumFractionDigits());



Mime
View raw message