summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules/node-api/src
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-04-15 08:52:12 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-04-15 08:52:12 +0000
commitd3aa422e46f969c79bcc0bcbbf5e6b80f9b2552e (patch)
tree0fdec3ecb5fe6b70bc5ee6ab3d1404b8f34737d6 /sca-java-2.x/trunk/modules/node-api/src
parent6e132ecef6edea96dab622c462471e295f870306 (diff)
Initialize the properties to avoid any NPE
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@934332 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/node-api/src')
-rw-r--r--sca-java-2.x/trunk/modules/node-api/src/main/java/org/apache/tuscany/sca/node/NodeFactory.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sca-java-2.x/trunk/modules/node-api/src/main/java/org/apache/tuscany/sca/node/NodeFactory.java b/sca-java-2.x/trunk/modules/node-api/src/main/java/org/apache/tuscany/sca/node/NodeFactory.java
index d7b487a688..a44eecc52c 100644
--- a/sca-java-2.x/trunk/modules/node-api/src/main/java/org/apache/tuscany/sca/node/NodeFactory.java
+++ b/sca-java-2.x/trunk/modules/node-api/src/main/java/org/apache/tuscany/sca/node/NodeFactory.java
@@ -196,7 +196,7 @@ public abstract class NodeFactory extends DefaultNodeConfigurationFactory {
return nodeFactory;
}
- protected Properties properties;
+ protected Properties properties = new Properties();
public static NodeFactory newInstance(Properties properties) {
NodeFactory nodeFactory = null;