commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niall Pemberton (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LANG-406) Add FractionFormat to oacl.text
Date Mon, 04 Feb 2008 04:45:08 GMT

    [ https://issues.apache.org/jira/browse/LANG-406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12565266#action_12565266
] 

Niall Pemberton commented on LANG-406:
--------------------------------------

I'm not sure why we have Fraction in both Lang and Math - I guess historically they just evolved
separately. The duplication does seem like a waste of effort though and Math IMO is a better
location - also Math already has a FractionFormat implementation. Perhaps would be a good
idea to compare both Fraction implementations and ensure that one supports all features of
the other and then deprecate one.

> Add FractionFormat to oacl.text
> -------------------------------
>
>                 Key: LANG-406
>                 URL: https://issues.apache.org/jira/browse/LANG-406
>             Project: Commons Lang
>          Issue Type: Bug
>    Affects Versions: 2.3
>            Reporter: Matt Benson
>            Assignee: Matt Benson
>            Priority: Minor
>             Fix For: 2.4
>
>         Attachments: FractionFormat.java, FractionFormatTest.java, FractionToString.patch.txt
>
>
> I'd like to add a FractionFormat implementation, capable of formatting Numbers including
oacl.math.Fraction to fractions, and of parsing fraction representation (and standalone integers)
into oacl.math.Fraction instances.  Implementation and test forthcoming; opinions welcome.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message