cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From un...@apache.org
Subject cvs commit: cocoon-2.1/src/java/org/apache/cocoon/environment/wrapper EnvironmentWrapper.java
Date Fri, 06 Feb 2004 12:14:51 GMT
unico       2004/02/06 04:14:51

  Modified:    src/java/org/apache/cocoon/environment/wrapper
                        EnvironmentWrapper.java
  Log:
  whoops, forgot to commit this before: fixing bug 25212
  
  Revision  Changes    Path
  1.12      +5 -4      cocoon-2.1/src/java/org/apache/cocoon/environment/wrapper/EnvironmentWrapper.java
  
  Index: EnvironmentWrapper.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/java/org/apache/cocoon/environment/wrapper/EnvironmentWrapper.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- EnvironmentWrapper.java	16 Aug 2003 13:30:04 -0000	1.11
  +++ EnvironmentWrapper.java	6 Feb 2004 12:14:51 -0000	1.12
  @@ -103,6 +103,8 @@
   
       /** The stream to output to */
       protected OutputStream outputStream;
  +    
  +    protected String contentType;
   
       /**
        * Constructs an EnvironmentWrapper object from a Request
  @@ -394,15 +396,14 @@
        * Set the ContentType
        */
       public void setContentType(String contentType) {
  -        // ignore this
  +        this.contentType = contentType;
       }
   
       /**
        * Get the ContentType
        */
       public String getContentType() {
  -        // ignore this
  -        return null;
  +        return this.contentType;
       }
   
       /**
  
  
  

Mime
View raw message