cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sylv...@apache.org
Subject svn commit: r292801 - /cocoon/trunk/src/java/org/apache/cocoon/components/treeprocessor/TreeProcessor.java
Date Fri, 30 Sep 2005 16:21:25 GMT
Author: sylvain
Date: Fri Sep 30 09:21:22 2005
New Revision: 292801

URL: http://svn.apache.org/viewcvs?rev=292801&view=rev
Log:
guard against null

Modified:
    cocoon/trunk/src/java/org/apache/cocoon/components/treeprocessor/TreeProcessor.java

Modified: cocoon/trunk/src/java/org/apache/cocoon/components/treeprocessor/TreeProcessor.java
URL: http://svn.apache.org/viewcvs/cocoon/trunk/src/java/org/apache/cocoon/components/treeprocessor/TreeProcessor.java?rev=292801&r1=292800&r2=292801&view=diff
==============================================================================
--- cocoon/trunk/src/java/org/apache/cocoon/components/treeprocessor/TreeProcessor.java (original)
+++ cocoon/trunk/src/java/org/apache/cocoon/components/treeprocessor/TreeProcessor.java Fri
Sep 30 09:21:22 2005
@@ -647,7 +647,7 @@
                 }
             }
 
-            if (oldListeners.size() > 0) {
+            if (oldListeners != null && oldListeners.size() > 0) {
                 if (getLogger().isDebugEnabled()) {
                     getLogger().debug("unsubscribing " + oldListeners + " from fam");
                 }



Mime
View raw message