tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jboy...@apache.org
Subject svn commit: r368774 - /incubator/tuscany/contrib/java/trunk/runtime/core/src/main/java/org/apache/tuscany/core/context/impl/TuscanyModuleComponentContextImpl.java
Date Fri, 13 Jan 2006 16:24:31 GMT
Author: jboynes
Date: Fri Jan 13 08:24:30 2006
New Revision: 368774

URL: http://svn.apache.org/viewcvs?rev=368774&view=rev
Log:
fix NPE when adding a listener

Modified:
    incubator/tuscany/contrib/java/trunk/runtime/core/src/main/java/org/apache/tuscany/core/context/impl/TuscanyModuleComponentContextImpl.java

Modified: incubator/tuscany/contrib/java/trunk/runtime/core/src/main/java/org/apache/tuscany/core/context/impl/TuscanyModuleComponentContextImpl.java
URL: http://svn.apache.org/viewcvs/incubator/tuscany/contrib/java/trunk/runtime/core/src/main/java/org/apache/tuscany/core/context/impl/TuscanyModuleComponentContextImpl.java?rev=368774&r1=368773&r2=368774&view=diff
==============================================================================
--- incubator/tuscany/contrib/java/trunk/runtime/core/src/main/java/org/apache/tuscany/core/context/impl/TuscanyModuleComponentContextImpl.java
(original)
+++ incubator/tuscany/contrib/java/trunk/runtime/core/src/main/java/org/apache/tuscany/core/context/impl/TuscanyModuleComponentContextImpl.java
Fri Jan 13 08:24:30 2006
@@ -104,7 +104,7 @@
     private Map<String, ScopeContext> scopeIndex;
 
     // lsistenrs for context events
-    private CopyOnWriteArrayList<RuntimeEventListener> listeners;
+    private CopyOnWriteArrayList<RuntimeEventListener> listeners = new CopyOnWriteArrayList();
 
     /*
      * Blocking latch to ensure the module is initialized exactly once prior to servicing
requests <p>@FIXME Java 5



Mime
View raw message