summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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