diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2009-03-20 17:57:24 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2009-03-20 17:57:24 +0000 |
commit | d32433ef7a2b34bd30285f45724cdd158d596029 (patch) | |
tree | 7430e2ddebaed7528094a0dcbdd68718c29f8fd0 /java/sca/itest | |
parent | 241cc75351167737a36ce65be8f0934ddc426ff3 (diff) |
Remove the target name attribute from EndpointReference2 as it already holds a TargetEndpoint reference which in turns references the component from which the name can be retrieved
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@756692 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/itest')
-rw-r--r-- | java/sca/itest/builder/src/test/java/org/apache/tuscany/sca/itest/builder/TestUtils.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/sca/itest/builder/src/test/java/org/apache/tuscany/sca/itest/builder/TestUtils.java b/java/sca/itest/builder/src/test/java/org/apache/tuscany/sca/itest/builder/TestUtils.java index c7f2dad2c4..fc18012a61 100644 --- a/java/sca/itest/builder/src/test/java/org/apache/tuscany/sca/itest/builder/TestUtils.java +++ b/java/sca/itest/builder/src/test/java/org/apache/tuscany/sca/itest/builder/TestUtils.java @@ -256,9 +256,9 @@ public class TestUtils { buffer += indent + " EndpointReference - Component: " + endpointReference.getComponent().getName() +"\n"; buffer += indent + " Reference: " + endpointReference.getReference().getName() +"\n"; - if (endpointReference.getTargetName() != null){ + if (endpointReference.getTargetEndpoint() != null){ buffer += indent + " Wired: " +"\n"; - buffer += indent + " Target: " + endpointReference.getTargetName()+"\n"; + buffer += indent + " Target: " + endpointReference.getTargetEndpoint().getComponent().getName()+"\n"; if (endpointReference.getTargetEndpoint() != null && endpointReference.getTargetEndpoint().isUnresolved() == false){ buffer += indent + " Binding: " + endpointReference.getBinding().getName() +"\n"; |