cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: rev 37461 - cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/treeprocessor
Date Fri, 03 Sep 2004 06:47:49 GMT
Author: cziegeler
Date: Thu Sep  2 23:47:48 2004
New Revision: 37461

Modified:
   cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/treeprocessor/ConcreteTreeProcessor.java
Log:
Fix classcastexception

Modified: cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/treeprocessor/ConcreteTreeProcessor.java
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/treeprocessor/ConcreteTreeProcessor.java
(original)
+++ cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/treeprocessor/ConcreteTreeProcessor.java
Thu Sep  2 23:47:48 2004
@@ -293,7 +293,7 @@
         // Get the processor that should process this request
         ConcreteTreeProcessor processor;
         if (newEnv.getRootContext() == newEnv.getContext()) {
-            processor = (ConcreteTreeProcessor)getRootProcessor();
+            processor = ((TreeProcessor)getRootProcessor()).concreteProcessor;
         } else {
             processor = this;
         }

Mime
View raw message