commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phil Steitz <phil.ste...@gmail.com>
Subject Re: [math][patch] 1.4 dependency in FractionFormat
Date Sun, 26 Jun 2005 03:30:41 GMT
Committed.  Pls review this and the other Fraction changes.

Phil

On 6/12/05, Mark Diggory <mdiggory@gmail.com> wrote:
> +1
> 
> Phil Steitz wrote:
> 
> >When building with 1.3, I discovered that the FractionFormat class
> >introduced a 1.4 dependency.  The change below removes the dependency
> >and the tests pass.  If there are no objections, I will commit this,
> >which will fix the build on 1.3
> >
> >--- src/java/org/apache/commons/math/fraction/FractionFormat.java      (revision
> >178359)
> >+++ src/java/org/apache/commons/math/fraction/FractionFormat.java      (working copy)
> >@@ -150,7 +150,7 @@
> >      * @return the default number format specific to the given locale.
> >
> >      */
> >
> >     private static NumberFormat getDefaultNumberFormat(Locale locale) {
> >
> >-        NumberFormat nf = NumberFormat.getIntegerInstance(locale);
> >
> >+        NumberFormat nf = NumberFormat.getNumberInstance(locale);
> >
> >         return nf;
> >
> >     }
> >
> >Phil
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> >
> >
> >
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> 
>

---------------------------------------------------------------------
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