You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by br...@apache.org on 2006/01/03 17:41:21 UTC

svn commit: r365678 - in /jakarta/commons/proper/math/branches/MATH_1_1: src/java/org/apache/commons/math/complex/ComplexFormat.java xdocs/changes.xml

Author: brentworden
Date: Tue Jan  3 08:41:19 2006
New Revision: 365678

URL: http://svn.apache.org/viewcvs?rev=365678&view=rev
Log:
undoing revision 365663.  committed to wrong branch.

Modified:
    jakarta/commons/proper/math/branches/MATH_1_1/src/java/org/apache/commons/math/complex/ComplexFormat.java
    jakarta/commons/proper/math/branches/MATH_1_1/xdocs/changes.xml

Modified: jakarta/commons/proper/math/branches/MATH_1_1/src/java/org/apache/commons/math/complex/ComplexFormat.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/math/branches/MATH_1_1/src/java/org/apache/commons/math/complex/ComplexFormat.java?rev=365678&r1=365677&r2=365678&view=diff
==============================================================================
--- jakarta/commons/proper/math/branches/MATH_1_1/src/java/org/apache/commons/math/complex/ComplexFormat.java (original)
+++ jakarta/commons/proper/math/branches/MATH_1_1/src/java/org/apache/commons/math/complex/ComplexFormat.java Tue Jan  3 08:41:19 2006
@@ -212,7 +212,7 @@
             toAppendTo.append(value);
             toAppendTo.append(')');
         } else {
-            format.format(value, toAppendTo, pos);
+            getRealFormat().format(value, toAppendTo, pos);
         }
         return toAppendTo;
     }
@@ -467,7 +467,7 @@
      */
     private Number parseNumber(String source, NumberFormat format, ParsePosition pos) {
         int startIndex = pos.getIndex();
-        Number number = format.parse(source, pos);
+        Number number = getRealFormat().parse(source, pos);
         int endIndex = pos.getIndex();
         
         // check for error parsing number

Modified: jakarta/commons/proper/math/branches/MATH_1_1/xdocs/changes.xml
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/math/branches/MATH_1_1/xdocs/changes.xml?rev=365678&r1=365677&r2=365678&view=diff
==============================================================================
--- jakarta/commons/proper/math/branches/MATH_1_1/xdocs/changes.xml (original)
+++ jakarta/commons/proper/math/branches/MATH_1_1/xdocs/changes.xml Tue Jan  3 08:41:19 2006
@@ -38,13 +38,6 @@
 Commons Math Release Notes</title>
   </properties>
   <body>
-    <release version="1.2" date="In Development"
-        description="">
-      <action dev="brentworden" type="fix" issue="38091" due-to="Phil Steitz">
-        Made ComplexFormat format double values with a provided NumberFormat
-        instance instead of using the real part format for all values.
-      </action>
-    </release>
     <release version="1.1" date="2005-12-17"  
  description="This is a maintenance release containing bug fixes and enhancements.
        All API changes are binary compatible with version 1.0. The enhancements 



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org