summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-03-16 07:59:12 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-03-16 07:59:12 +0000
commit5be60b842fd0d2d0c206b6e5e09435ffedb31447 (patch)
treedf56e5660380e722309e3275befa54b95554bcdd
parenta4187b8f961397e1591aa870b1b948869226936e (diff)
Update the endpoint registry to use the new Endpoint matches method
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@923615 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/EndpointRegistryImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/EndpointRegistryImpl.java b/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/EndpointRegistryImpl.java
index 8c9e3f0951..6eaef95116 100644
--- a/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/EndpointRegistryImpl.java
+++ b/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/EndpointRegistryImpl.java
@@ -54,7 +54,7 @@ public class EndpointRegistryImpl extends BaseEndpointRegistry implements Endpoi
public List<Endpoint> findEndpoint(String uri) {
List<Endpoint> foundEndpoints = new ArrayList<Endpoint>();
for (Endpoint endpoint : endpoints) {
- if (matches(uri, endpoint.getURI())) {
+ if (endpoint.matches(uri)) {
foundEndpoints.add(endpoint);
logger.fine("Found endpoint with matching service - " + endpoint);
}