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: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]