summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules/node-impl/src
diff options
context:
space:
mode:
authorrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2010-02-10 19:33:37 +0000
committerrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2010-02-10 19:33:37 +0000
commitc02027ec2a7ebecf86a1fe42ce5099876cb59333 (patch)
tree88689f979618bf84b594a209713e7423cee08ac3 /sca-java-2.x/trunk/modules/node-impl/src
parent1a57f8a244af68c2d7791344e566e320fa6c6009 (diff)
Fix some of minor bugs discovered by FindBugs
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@908644 13f79535-47bb-0310-9956-ffa450edef68
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.java3
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);
}