cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject cvs commit: xml-cocoon2/src/java/org/apache/cocoon/environment AbstractEnvironment.java
Date Thu, 12 Sep 2002 14:27:50 GMT
cziegeler    2002/09/12 07:27:50

  Modified:    src/java/org/apache/cocoon/environment
                        AbstractEnvironment.java
  Log:
  Fixing CLI
  
  Revision  Changes    Path
  1.28      +7 -3      xml-cocoon2/src/java/org/apache/cocoon/environment/AbstractEnvironment.java
  
  Index: AbstractEnvironment.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/environment/AbstractEnvironment.java,v
  retrieving revision 1.27
  retrieving revision 1.28
  diff -u -r1.27 -r1.28
  --- AbstractEnvironment.java	12 Sep 2002 14:14:36 -0000	1.27
  +++ AbstractEnvironment.java	12 Sep 2002 14:27:50 -0000	1.28
  @@ -463,7 +463,9 @@
        *
        */
       public void resetResponse() {
  -        this.secureOutputStream.clearBuffer();
  +        if (this.secureOutputStream != null) {
  +            this.secureOutputStream.clearBuffer();
  +        }
       }
   
       /**
  @@ -471,7 +473,9 @@
        */
       public void commitResponse() 
       throws IOException {
  -        this.secureOutputStream.realFlush();
  +        if (this.secureOutputStream != null) {
  +            this.secureOutputStream.realFlush();
  +        }
       }
       
       /**
  
  
  

----------------------------------------------------------------------
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