From 25ad18471d45d25d7328bba85b22027cb47aaeeb Mon Sep 17 00:00:00 2001 From: slaws Date: Tue, 21 Jul 2009 10:08:53 +0000 Subject: 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 --- .../main/java/org/apache/tuscany/sca/assembly/impl/EndpointImpl.java | 2 +- .../org/apache/tuscany/sca/assembly/impl/EndpointReferenceImpl.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'java') 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) { -- cgit v1.2.3