Return-Path: Delivered-To: apmail-commons-issues-archive@locus.apache.org Received: (qmail 6806 invoked from network); 4 Feb 2008 04:45:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Feb 2008 04:45:31 -0000 Received: (qmail 32009 invoked by uid 500); 4 Feb 2008 04:45:21 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 31942 invoked by uid 500); 4 Feb 2008 04:45:21 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 31933 invoked by uid 99); 4 Feb 2008 04:45:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Feb 2008 20:45:21 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Feb 2008 04:45:00 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 20F8A71406E for ; Sun, 3 Feb 2008 20:45:08 -0800 (PST) Message-ID: <31780271.1202100308132.JavaMail.jira@brutus> Date: Sun, 3 Feb 2008 20:45:08 -0800 (PST) From: "Niall Pemberton (JIRA)" To: issues@commons.apache.org Subject: [jira] Commented: (LANG-406) Add FractionFormat to oacl.text In-Reply-To: <376433.1201981928236.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ 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.