diff options
Diffstat (limited to 'sca-java-2.x/trunk/modules/node-impl/src')
-rw-r--r-- | sca-java-2.x/trunk/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/configuration/xml/NodeConfigurationProcessor.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sca-java-2.x/trunk/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/configuration/xml/NodeConfigurationProcessor.java b/sca-java-2.x/trunk/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/configuration/xml/NodeConfigurationProcessor.java index 6d10935e52..46f46a3757 100644 --- a/sca-java-2.x/trunk/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/configuration/xml/NodeConfigurationProcessor.java +++ b/sca-java-2.x/trunk/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/configuration/xml/NodeConfigurationProcessor.java @@ -219,11 +219,12 @@ public class NodeConfigurationProcessor extends BaseStAXArtifactProcessor implem } else { uris = null; } + String baseURIs = (uris == null) ? null : uris.toString(); writeStart(writer, BINDING.getNamespaceURI(), BINDING.getLocalPart(), new XAttr("name", b.getBindingType()), - new XAttr("baseURIs", uris.toString())); + new XAttr("baseURIs", baseURIs)); writeEnd(writer); } |