commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brentwor...@apache.org
Subject svn commit: r365678 - in /jakarta/commons/proper/math/branches/MATH_1_1: src/java/org/apache/commons/math/complex/ComplexFormat.java xdocs/changes.xml
Date Tue, 03 Jan 2006 16:41:21 GMT
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


Mime
View raw message