undoing revision 365663. committed to wrong branch.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/branches/MATH_1_1@365678 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brent Worden 2006-01-03 16:41:19 +00:00
parent 5a701b479e
commit 96fe859d6d
2 changed files with 2 additions and 9 deletions

View File

@ -212,7 +212,7 @@ public class ComplexFormat extends Format implements Serializable {
toAppendTo.append(value); toAppendTo.append(value);
toAppendTo.append(')'); toAppendTo.append(')');
} else { } else {
format.format(value, toAppendTo, pos); getRealFormat().format(value, toAppendTo, pos);
} }
return toAppendTo; return toAppendTo;
} }
@ -467,7 +467,7 @@ public class ComplexFormat extends Format implements Serializable {
*/ */
private Number parseNumber(String source, NumberFormat format, ParsePosition pos) { private Number parseNumber(String source, NumberFormat format, ParsePosition pos) {
int startIndex = pos.getIndex(); int startIndex = pos.getIndex();
Number number = format.parse(source, pos); Number number = getRealFormat().parse(source, pos);
int endIndex = pos.getIndex(); int endIndex = pos.getIndex();
// check for error parsing number // check for error parsing number

View File

@ -38,13 +38,6 @@ The <action> type attribute can be add,update,fix,remove.
Commons Math Release Notes</title> Commons Math Release Notes</title>
</properties> </properties>
<body> <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" <release version="1.1" date="2005-12-17"
description="This is a maintenance release containing bug fixes and enhancements. description="This is a maintenance release containing bug fixes and enhancements.
All API changes are binary compatible with version 1.0. The enhancements All API changes are binary compatible with version 1.0. The enhancements