Return-Path: Delivered-To: apmail-cxf-commits-archive@www.apache.org Received: (qmail 24564 invoked from network); 17 Jun 2010 13:11:09 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 17 Jun 2010 13:11:09 -0000 Received: (qmail 15573 invoked by uid 500); 16 Jun 2010 23:44:28 -0000 Delivered-To: apmail-cxf-commits-archive@cxf.apache.org Received: (qmail 15527 invoked by uid 500); 16 Jun 2010 23:44:28 -0000 Mailing-List: contact commits-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list commits@cxf.apache.org Received: (qmail 15520 invoked by uid 99); 16 Jun 2010 23:44:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Jun 2010 23:44:28 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Jun 2010 23:44:25 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 55153238897A; Wed, 16 Jun 2010 23:43:39 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r955431 - in /cxf/branches/2.2.x-fixes: ./ rt/databinding/aegis/src/main/java/org/apache/cxf/aegis/type/basic/BigDecimalType.java rt/databinding/aegis/src/test/java/org/apache/cxf/aegis/type/BigDecimalStringTest.java Date: Wed, 16 Jun 2010 23:43:39 -0000 To: commits@cxf.apache.org From: dkulp@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100616234339.55153238897A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: dkulp Date: Wed Jun 16 23:43:38 2010 New Revision: 955431 URL: http://svn.apache.org/viewvc?rev=955431&view=rev Log: Merged revisions 955098 via svnmerge from https://svn.apache.org/repos/asf/cxf/trunk ........ r955098 | bimargulies | 2010-06-15 20:08:11 -0400 (Tue, 15 Jun 2010) | 1 line CXF-2847: fix decimal formatting ........ Added: cxf/branches/2.2.x-fixes/rt/databinding/aegis/src/test/java/org/apache/cxf/aegis/type/BigDecimalStringTest.java - copied unchanged from r955098, cxf/trunk/rt/databinding/aegis/src/test/java/org/apache/cxf/aegis/type/BigDecimalStringTest.java Modified: cxf/branches/2.2.x-fixes/ (props changed) cxf/branches/2.2.x-fixes/rt/databinding/aegis/src/main/java/org/apache/cxf/aegis/type/basic/BigDecimalType.java Propchange: cxf/branches/2.2.x-fixes/ ('svn:mergeinfo' removed) Propchange: cxf/branches/2.2.x-fixes/ ------------------------------------------------------------------------------ Binary property 'svnmerge-integrated' - no diff available. Modified: cxf/branches/2.2.x-fixes/rt/databinding/aegis/src/main/java/org/apache/cxf/aegis/type/basic/BigDecimalType.java URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/rt/databinding/aegis/src/main/java/org/apache/cxf/aegis/type/basic/BigDecimalType.java?rev=955431&r1=955430&r2=955431&view=diff ============================================================================== --- cxf/branches/2.2.x-fixes/rt/databinding/aegis/src/main/java/org/apache/cxf/aegis/type/basic/BigDecimalType.java (original) +++ cxf/branches/2.2.x-fixes/rt/databinding/aegis/src/main/java/org/apache/cxf/aegis/type/basic/BigDecimalType.java Wed Jun 16 23:43:38 2010 @@ -44,6 +44,6 @@ public class BigDecimalType extends Type @Override public void writeObject(final Object object, final MessageWriter writer, final Context context) { - writer.writeValue(object.toString()); + writer.writeValue(((BigDecimal) object).toPlainString()); } }