cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject cvs commit: cocoon-2.1/src/blocks/jsp/java/org/apache/cocoon/components/jsp JSPEngineImpl.java
Date Fri, 30 May 2003 15:31:59 GMT
bruno       2003/05/30 08:31:58

  Modified:    src/blocks/jsp/java/org/apache/cocoon/components/jsp
                        JSPEngineImpl.java
  Log:
  cleanup
  
  Revision  Changes    Path
  1.4       +2 -4      cocoon-2.1/src/blocks/jsp/java/org/apache/cocoon/components/jsp/JSPEngineImpl.java
  
  Index: JSPEngineImpl.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/jsp/java/org/apache/cocoon/components/jsp/JSPEngineImpl.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- JSPEngineImpl.java	30 May 2003 15:12:19 -0000	1.3
  +++ JSPEngineImpl.java	30 May 2003 15:31:58 -0000	1.4
  @@ -233,7 +233,6 @@
           public Locale getLocale(){ return this.response.getLocale();}
           public PrintWriter getWriter() {
               if (this.output == null) {
  -                System.out.println(this.encoding);
                   this.output = new MyServletOutputStream(this.encoding);
               }
               return this.output.getWriter();
  @@ -262,7 +261,6 @@
           public void setLocale(java.util.Locale loc) {}
           public ServletOutputStream getOutputStream() {
               if (this.output == null) {
  -                System.out.println(this.encoding);
                   this.output = new MyServletOutputStream(this.encoding);
               }
               return this.output;
  @@ -314,7 +312,7 @@
               try {
                   this.writer = new PrintWriter(new OutputStreamWriter(output, encoding));
               } catch (UnsupportedEncodingException e) {
  -                // This can't be true: JVM must support the encoding.
  +                getLogger().error("Unsupported encoding: " + encoding + ", using platform
default instead.");
                   this.writer = new PrintWriter(new OutputStreamWriter(output));
               }
           }
  
  
  

Mime
View raw message