summaryrefslogtreecommitdiffstats
path: root/java/sca
diff options
context:
space:
mode:
authorbeckerdo <beckerdo@13f79535-47bb-0310-9956-ffa450edef68>2008-10-08 19:34:40 +0000
committerbeckerdo <beckerdo@13f79535-47bb-0310-9956-ffa450edef68>2008-10-08 19:34:40 +0000
commitb0dbe0952563535041299cd752a2176f7bf25a3f (patch)
tree073b2a19a270e41c35b989b5584b7e74ef22f1d5 /java/sca
parent35982ed8e25995fb3336286fe3893db5abcf7012 (diff)
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@702976 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca')
-rw-r--r--java/sca/modules/policy/src/main/java/org/apache/tuscany/sca/policy/impl/BindingTypeImpl.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/java/sca/modules/policy/src/main/java/org/apache/tuscany/sca/policy/impl/BindingTypeImpl.java b/java/sca/modules/policy/src/main/java/org/apache/tuscany/sca/policy/impl/BindingTypeImpl.java
index dbdef38324..0f8b1ae00a 100644
--- a/java/sca/modules/policy/src/main/java/org/apache/tuscany/sca/policy/impl/BindingTypeImpl.java
+++ b/java/sca/modules/policy/src/main/java/org/apache/tuscany/sca/policy/impl/BindingTypeImpl.java
@@ -84,6 +84,7 @@ public class BindingTypeImpl implements IntentAttachPointType {
@Override
public String toString() {
- return getName().toString();
+ return ( this.typeName != null ) ? getName().toString() : "null";
}
}
+; \ No newline at end of file