summaryrefslogtreecommitdiffstats
path: root/java/sca/modules/core/src
diff options
context:
space:
mode:
authormcombellack <mcombellack@13f79535-47bb-0310-9956-ffa450edef68>2008-07-03 14:47:51 +0000
committermcombellack <mcombellack@13f79535-47bb-0310-9956-ffa450edef68>2008-07-03 14:47:51 +0000
commita3d3932664c54ea7fe90c9fd34b465b2227c8604 (patch)
treed28925cad8004214fc3385c047cab3d45f3bd3e9 /java/sca/modules/core/src
parent1955dd58ad225637dbb53ddeda698c01b32fe54f (diff)
No need to call the toXMLString() method twice as we already have the output from this method from an earlier call
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@673694 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/modules/core/src')
-rw-r--r--java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/context/CallableReferenceImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/context/CallableReferenceImpl.java b/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/context/CallableReferenceImpl.java
index 517f1e06ca..c558f8be69 100644
--- a/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/context/CallableReferenceImpl.java
+++ b/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/context/CallableReferenceImpl.java
@@ -364,7 +364,7 @@ public class CallableReferenceImpl<B> implements CallableReference<B>, Externali
out.writeBoolean(false);
} else {
out.writeBoolean(true);
- out.writeUTF(toXMLString());
+ out.writeUTF(xml);
}
} catch (Exception e) {
// e.printStackTrace();