cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
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 GMT
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());
     }
 }



Mime
View raw message