cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ovi...@apache.org
Subject cvs commit: xml-cocoon2/src/scratchpad/schecoon/src/org/apache/cocoon/components/flow AbstractInterpreter.java
Date Fri, 19 Apr 2002 06:56:53 GMT
ovidiu      02/04/18 23:56:53

  Modified:    src/scratchpad/schecoon/src/org/apache/cocoon/components/flow
                        AbstractInterpreter.java
  Log:
  Removed the dependency on InvokeContext.
  
  Revision  Changes    Path
  1.8       +1 -8      xml-cocoon2/src/scratchpad/schecoon/src/org/apache/cocoon/components/flow/AbstractInterpreter.java
  
  Index: AbstractInterpreter.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/scratchpad/schecoon/src/org/apache/cocoon/components/flow/AbstractInterpreter.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- AbstractInterpreter.java	10 Apr 2002 06:16:00 -0000	1.7
  +++ AbstractInterpreter.java	19 Apr 2002 06:56:53 -0000	1.8
  @@ -16,7 +16,6 @@
   import org.apache.cocoon.Constants;
   import org.apache.cocoon.components.source.SourceFactory;
   import org.apache.cocoon.components.treeprocessor.CategoryNode;
  -import org.apache.cocoon.components.treeprocessor.InvokeContext;
   import org.apache.cocoon.components.treeprocessor.MapStackResolver;
   import org.apache.cocoon.components.treeprocessor.ProcessingNode;
   import org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode;
  @@ -214,15 +213,9 @@
   
     public void forwardTo(String uri, Object bizData,
                           WebContinuation continuation,
  -                        Environment environment, InvokeContext ctx)
  +                        Environment environment)
       throws Exception
     {
  -    if (ctx == null) {
  -      String msg = "Cannot invoke pipeline with a null InvokeContext! Make sure"
  -        + " you're calling the pipeline during the execution of a request.";
  -      throw new RuntimeException(msg);
  -    }
  -
       environment.setAttribute("bean-dict", bizData);
       environment.setAttribute("kont", continuation);
   
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message