From d3aa422e46f969c79bcc0bcbbf5e6b80f9b2552e Mon Sep 17 00:00:00 2001 From: antelder Date: Thu, 15 Apr 2010 08:52:12 +0000 Subject: Initialize the properties to avoid any NPE git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@934332 13f79535-47bb-0310-9956-ffa450edef68 --- .../node-api/src/main/java/org/apache/tuscany/sca/node/NodeFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sca-java-2.x/trunk/modules/node-api/src') 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; -- cgit v1.2.3