From e64ab6ff3502fa2571712725783693d740481daa Mon Sep 17 00:00:00 2001 From: slaws Date: Tue, 6 Sep 2011 10:32:25 +0000 Subject: Separate a composite line out for clarity/debugging purposes. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1165596 13f79535-47bb-0310-9956-ffa450edef68 --- .../sca/binding/ws/axis2/provider/Axis2ReferenceBindingProvider.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src/main') diff --git a/sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/provider/Axis2ReferenceBindingProvider.java b/sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/provider/Axis2ReferenceBindingProvider.java index 7b22dc443b..a1ecdd2a1c 100644 --- a/sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/provider/Axis2ReferenceBindingProvider.java +++ b/sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/provider/Axis2ReferenceBindingProvider.java @@ -355,8 +355,8 @@ public class Axis2ReferenceBindingProvider extends Axis2BaseBindingProvider impl } 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); -- cgit v1.2.3