tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lu...@apache.org
Subject cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/runtime PageContextImpl.java
Date Fri, 11 Jul 2003 01:29:14 GMT
luehe       2003/07/10 18:29:14

  Modified:    jasper2/src/share/org/apache/jasper/runtime
                        PageContextImpl.java
  Log:
  cleanup
  
  Revision  Changes    Path
  1.50      +4 -16     jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/runtime/PageContextImpl.java
  
  Index: PageContextImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/runtime/PageContextImpl.java,v
  retrieving revision 1.49
  retrieving revision 1.50
  diff -u -r1.49 -r1.50
  --- PageContextImpl.java	17 May 2003 00:14:10 -0000	1.49
  +++ PageContextImpl.java	11 Jul 2003 01:29:14 -0000	1.50
  @@ -205,15 +205,12 @@
           // initialize the initial out ...
           depth = -1;
           if (this.baseOut == null) {
  -            this.baseOut = _createOut(bufferSize, autoFlush);
  +            this.baseOut = new JspWriterImpl(response, bufferSize, autoFlush);
           } else {
               this.baseOut.init(response, bufferSize, autoFlush);
           }
           this.out = baseOut;
   
  -	if (this.out == null)
  -	    throw new IllegalStateException("failed initialize JspWriter");
  -
   	// register names/values as per spec
   	setAttribute(OUT, this.out);
   	setAttribute(REQUEST, request);
  @@ -768,13 +765,4 @@
   	return retValue;
       }
   
  -    private JspWriterImpl _createOut(int bufferSize, boolean autoFlush)
  -                throws IOException {
  -        try {
  -            return new JspWriterImpl(response, bufferSize, autoFlush);
  -        } catch( Throwable t ) {
  -            log.warn("creating out", t);
  -            return null;
  -        }
  -    }
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message