cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jo...@apache.org
Subject svn commit: r642841 - /cocoon/trunk/blocks/cocoon-javaflow/cocoon-javaflow-impl/src/main/java/org/apache/cocoon/components/flow/java/AbstractContinuable.java
Date Sun, 30 Mar 2008 23:46:18 GMT
Author: joerg
Date: Sun Mar 30 16:46:15 2008
New Revision: 642841

URL: http://svn.apache.org/viewvc?rev=642841&view=rev
Log:
it should not be necessary to retrieve the context twice

Modified:
    cocoon/trunk/blocks/cocoon-javaflow/cocoon-javaflow-impl/src/main/java/org/apache/cocoon/components/flow/java/AbstractContinuable.java

Modified: cocoon/trunk/blocks/cocoon-javaflow/cocoon-javaflow-impl/src/main/java/org/apache/cocoon/components/flow/java/AbstractContinuable.java
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-javaflow/cocoon-javaflow-impl/src/main/java/org/apache/cocoon/components/flow/java/AbstractContinuable.java?rev=642841&r1=642840&r2=642841&view=diff
==============================================================================
--- cocoon/trunk/blocks/cocoon-javaflow/cocoon-javaflow-impl/src/main/java/org/apache/cocoon/components/flow/java/AbstractContinuable.java
(original)
+++ cocoon/trunk/blocks/cocoon-javaflow/cocoon-javaflow-impl/src/main/java/org/apache/cocoon/components/flow/java/AbstractContinuable.java
Sun Mar 30 16:46:15 2008
@@ -65,7 +65,7 @@
         releaseComponent(newObjectModel);
         if (SourceUtil.indexOfSchemeColon(uri) == -1) {
             uri = "cocoon:/" + uri;
-            if (getContext().getRedirector().hasRedirected()) {
+            if (context.getRedirector().hasRedirected()) {
                 throw new IllegalStateException(
                         "Pipeline has already been processed for this request");
             }
@@ -104,7 +104,7 @@
         if (SourceUtil.indexOfSchemeColon(uri) == -1) {
             uri = "cocoon:/" + uri;
 
-            if (getContext().getRedirector().hasRedirected()) {
+            if (context.getRedirector().hasRedirected()) {
                 throw new IllegalStateException(
                         "Pipeline has already been processed for this request");
             }



Mime
View raw message