diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2010-01-14 15:49:44 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2010-01-14 15:49:44 +0000 |
commit | fe3653c731b84352d05619c8ea5c052ba5099ece (patch) | |
tree | f0f019885986c1f69d3e0853175dcff82eee7a5a /sca-java-2.x/trunk/modules/core | |
parent | 9d53975a39b636707b387dacff2878931bb558f2 (diff) |
Remove unused line of code and correct comment
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@899256 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/core')
-rw-r--r-- | sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/runtime/impl/EndpointReferenceBinderImpl.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/runtime/impl/EndpointReferenceBinderImpl.java b/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/runtime/impl/EndpointReferenceBinderImpl.java index f0a44eef23..64c28b1185 100644 --- a/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/runtime/impl/EndpointReferenceBinderImpl.java +++ b/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/runtime/impl/EndpointReferenceBinderImpl.java @@ -204,10 +204,10 @@ public class EndpointReferenceBinderImpl implements EndpointReferenceBinder { if ((endpoints.size() == 0) && (runtime == true) ) { - // tweak to test if this could be a resolve binding. If the uri - // has come from the binding (as opposed to a reference target) - // the assume that it is. - String bindingURI = endpointReference.getBinding().getURI(); + // tweak to test if this could be a resolve binding. This is the back end of the test + // in the builder that pulls the URI out of the binding if there are no targets + // on the reference. have to wait until here to see if the binding uri matches any + // available services. If not we assume here that it's a resolved binding if (endpointReference.getStatus() == EndpointReference.WIRED_TARGET_IN_BINDING_URI){ endpointReference.getTargetEndpoint().setBinding(endpointReference.getBinding()); endpointReference.setRemote(true); |