cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ba...@locus.apache.org
Subject cvs commit: xml-cocoon/src/org/apache/cocoon Engine.java
Date Thu, 03 Feb 2000 18:13:02 GMT
balld       00/02/03 10:13:02

  Modified:    src/org/apache/cocoon Engine.java
  Log:
  rolled back illegalstateexception patch since it causes errors in more complex situations
  
  Revision  Changes    Path
  1.13      +3 -11     xml-cocoon/src/org/apache/cocoon/Engine.java
  
  Index: Engine.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/Engine.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- Engine.java	2000/02/03 08:09:14	1.12
  +++ Engine.java	2000/02/03 18:13:02	1.13
  @@ -1,4 +1,4 @@
  -/*-- $Id: Engine.java,v 1.12 2000/02/03 08:09:14 balld Exp $ --
  +/*-- $Id: Engine.java,v 1.13 2000/02/03 18:13:02 balld Exp $ --
   
    ============================================================================
                      The Apache Software License, Version 1.1
  @@ -72,7 +72,7 @@
    * This class implements the engine that does all the document processing.
    *
    * @author <a href="mailto:stefano@apache.org">Stefano Mazzocchi</a>
  - * @version $Revision: 1.12 $ $Date: 2000/02/03 08:09:14 $
  + * @version $Revision: 1.13 $ $Date: 2000/02/03 18:13:02 $
    */
   
   public class Engine implements Defaults {
  @@ -311,15 +311,7 @@
               response.setContentType(page.getContentType());
   
               // get the output writer
  -            PrintWriter out = null;
  -			try {
  -				out = response.getWriter();
  -			} catch (IllegalStateException e) {
  -				// we don't want to write to this or cache this document since
  -				// presumably it is not complete so lets return
  -				// from this call to handle()
  -				return;
  -			}
  +            PrintWriter out response.getWriter();
   
               // send the page
               out.println(page.getContent());
  
  
  

Mime
View raw message