[
https://issues.apache.org/jira/browse/LANG-406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12565266#action_12565266
]
niallp edited comment on LANG-406 at 2/3/08 8:47 PM:
--------------------------------------------------------------
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.
http://svn.apache.org/repos/asf/commons/proper/math/trunk/src/java/org/apache/commons/math/fraction/
http://svn.apache.org/repos/asf/commons/proper/lang/trunk/src/java/org/apache/commons/lang/math/
was (Author: niallp):
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.