summaryrefslogtreecommitdiffstats
path: root/java/sca
diff options
context:
space:
mode:
authorlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2008-07-01 03:12:59 +0000
committerlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2008-07-01 03:12:59 +0000
commitb85b9d9a819eedfe6ca4f450a3746ca98e35c8e3 (patch)
tree0c5cfc46b0cb61c7d2a9d96843c0a93a94bca500 /java/sca
parent25c12fe1023fe9c7c7da2c2674f925532b3e3308 (diff)
adding toString() to better debuging
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@672980 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca')
-rw-r--r--java/sca/modules/implementation-widget/src/main/java/org/apache/tuscany/sca/implementation/widget/WidgetImplementation.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/java/sca/modules/implementation-widget/src/main/java/org/apache/tuscany/sca/implementation/widget/WidgetImplementation.java b/java/sca/modules/implementation-widget/src/main/java/org/apache/tuscany/sca/implementation/widget/WidgetImplementation.java
index 7bb852ae0c..6546dbf0f3 100644
--- a/java/sca/modules/implementation-widget/src/main/java/org/apache/tuscany/sca/implementation/widget/WidgetImplementation.java
+++ b/java/sca/modules/implementation-widget/src/main/java/org/apache/tuscany/sca/implementation/widget/WidgetImplementation.java
@@ -126,4 +126,8 @@ public class WidgetImplementation implements Implementation {
public void setUnresolved(boolean unresolved) {
this.unresolved = unresolved;
}
+
+ public String toString() {
+ return "Widget : " + getLocation();
+ }
}