summaryrefslogtreecommitdiffstats
path: root/java/sca/modules
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2009-07-21 10:08:53 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2009-07-21 10:08:53 +0000
commit25ad18471d45d25d7328bba85b22027cb47aaeeb (patch)
tree4210a524ce847174db26006dfe31f47c2a69c90b /java/sca/modules
parent9f264f4aeb8786ead9b3f847175a2b7de8b60399 (diff)
Make printed uri in toString more consistent with getURI output.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@796231 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/modules')
-rw-r--r--java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/EndpointImpl.java2
-rw-r--r--java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/EndpointReferenceImpl.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/EndpointImpl.java b/java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/EndpointImpl.java
index 978d9e2b68..61465bda94 100644
--- a/java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/EndpointImpl.java
+++ b/java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/EndpointImpl.java
@@ -146,7 +146,7 @@ public class EndpointImpl implements Endpoint {
String output = "Endpoint: ";
if (getURI() != null) {
- output += " URI = " + uri;
+ output += " URI = " + getURI();
}
if (unresolved) {
diff --git a/java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/EndpointReferenceImpl.java b/java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/EndpointReferenceImpl.java
index 1890687ca9..2a99911772 100644
--- a/java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/EndpointReferenceImpl.java
+++ b/java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/EndpointReferenceImpl.java
@@ -168,7 +168,7 @@ public class EndpointReferenceImpl implements EndpointReference {
String output = "Endpoint Reference: ";
if (getURI() != null) {
- output += " URI = " + uri;
+ output += " URI = " + getURI();
}
switch (status) {