servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbono...@apache.org
Subject svn commit: r1144378 - /servicemix/smx3/trunk/common/servicemix-components/src/main/java/org/apache/servicemix/components/xfire/XMarshaler.java
Date Fri, 08 Jul 2011 16:23:26 GMT
Author: jbonofre
Date: Fri Jul  8 16:23:26 2011
New Revision: 1144378

URL: http://svn.apache.org/viewvc?rev=1144378&view=rev
Log:
[SM-1831] Replace StaxSourceTransformer by SourceTransformer.

Modified:
    servicemix/smx3/trunk/common/servicemix-components/src/main/java/org/apache/servicemix/components/xfire/XMarshaler.java

Modified: servicemix/smx3/trunk/common/servicemix-components/src/main/java/org/apache/servicemix/components/xfire/XMarshaler.java
URL: http://svn.apache.org/viewvc/servicemix/smx3/trunk/common/servicemix-components/src/main/java/org/apache/servicemix/components/xfire/XMarshaler.java?rev=1144378&r1=1144377&r2=1144378&view=diff
==============================================================================
--- servicemix/smx3/trunk/common/servicemix-components/src/main/java/org/apache/servicemix/components/xfire/XMarshaler.java
(original)
+++ servicemix/smx3/trunk/common/servicemix-components/src/main/java/org/apache/servicemix/components/xfire/XMarshaler.java
Fri Jul  8 16:23:26 2011
@@ -31,7 +31,6 @@ import javax.xml.transform.Source;
 import javax.xml.transform.TransformerException;
 
 import org.apache.servicemix.jbi.jaxp.SourceTransformer;
-import org.apache.servicemix.jbi.jaxp.StAXSourceTransformer;
 import org.apache.servicemix.jbi.jaxp.StringSource;
 import org.codehaus.xfire.exchange.OutMessage;
 
@@ -40,11 +39,11 @@ import org.codehaus.xfire.exchange.OutMe
  */
 public class XMarshaler {
 
-    private StAXSourceTransformer transformer;
+    private SourceTransformer transformer;
     
     public XMarshaler()
     {
-        transformer = new StAXSourceTransformer();
+        transformer = new SourceTransformer();
     }
 
     public void setContent(NormalizedMessage message, String xml) throws MessagingException
{



Mime
View raw message