tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sl...@apache.org
Subject svn commit: r1165596 - /tuscany/sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/provider/Axis2ReferenceBindingProvider.java
Date Tue, 06 Sep 2011 10:32:25 GMT
Author: slaws
Date: Tue Sep  6 10:32:25 2011
New Revision: 1165596

URL: http://svn.apache.org/viewvc?rev=1165596&view=rev
Log:
Separate a composite line out for clarity/debugging purposes. 

Modified:
    tuscany/sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/provider/Axis2ReferenceBindingProvider.java

Modified: tuscany/sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/provider/Axis2ReferenceBindingProvider.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/provider/Axis2ReferenceBindingProvider.java?rev=1165596&r1=1165595&r2=1165596&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/provider/Axis2ReferenceBindingProvider.java
(original)
+++ tuscany/sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/provider/Axis2ReferenceBindingProvider.java
Tue Sep  6 10:32:25 2011
@@ -355,8 +355,8 @@ public class Axis2ReferenceBindingProvid
         }
         try {
 
-            XMLStreamReader parser =
-                XMLInputFactory.newInstance().createXMLStreamReader(new DOMSource(wsBinding.getEndPointReference()));
+            DOMSource domSource = new DOMSource(wsBinding.getEndPointReference());
+            XMLStreamReader parser = XMLInputFactory.newInstance().createXMLStreamReader(domSource);
             StAXOMBuilder builder = new StAXOMBuilder(parser);
             OMElement omElement = builder.getDocumentElement();
             org.apache.axis2.addressing.EndpointReference epr = EndpointReferenceHelper.fromOM(omElement);



Mime
View raw message