cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1432084 - /cxf/branches/2.5.x-fixes/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/AtomPojoProvider.java
Date Fri, 11 Jan 2013 15:04:08 GMT
Author: dkulp
Date: Fri Jan 11 15:04:08 2013
New Revision: 1432084

URL: http://svn.apache.org/viewvc?rev=1432084&view=rev
Log:
Fix compile failure

Modified:
    cxf/branches/2.5.x-fixes/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/AtomPojoProvider.java

Modified: cxf/branches/2.5.x-fixes/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/AtomPojoProvider.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.5.x-fixes/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/AtomPojoProvider.java?rev=1432084&r1=1432083&r2=1432084&view=diff
==============================================================================
--- cxf/branches/2.5.x-fixes/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/AtomPojoProvider.java
(original)
+++ cxf/branches/2.5.x-fixes/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/AtomPojoProvider.java
Fri Jan 11 15:04:08 2013
@@ -345,7 +345,7 @@ public class AtomPojoProvider extends Ab
         jc.createMarshaller().marshal(o, writer);
         
         Content ct = factory.newContent(Content.Type.XML);
-        ct.setValue(content);
+        ct.setValue(writer.toString());
         e.setContentElement(ct);
     }
     



Mime
View raw message