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-catalina/catalina/src/share/org/apache/catalina/connector ResponseFacade.java
Date Mon, 01 Nov 2004 23:21:58 GMT
luehe       2004/11/01 15:21:58

  Modified:    catalina/src/share/org/apache/catalina/connector
                        ResponseFacade.java
  Log:
  Fixed formatting prior to making changes
  
  Revision  Changes    Path
  1.7       +13 -11    jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/connector/ResponseFacade.java
  
  Index: ResponseFacade.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/connector/ResponseFacade.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- ResponseFacade.java	23 Jun 2004 08:24:57 -0000	1.6
  +++ ResponseFacade.java	1 Nov 2004 23:21:58 -0000	1.7
  @@ -46,8 +46,11 @@
   
       // ----------------------------------------------------------- DoPrivileged
       
  -    private final class SetContentTypePrivilegedAction implements PrivilegedAction{
  +    private final class SetContentTypePrivilegedAction
  +            implements PrivilegedAction {
  +
           private String contentType;
  +
           public SetContentTypePrivilegedAction(String contentType){
               this.contentType = contentType;
           }
  @@ -58,7 +61,9 @@
           }            
       }
   
  -    private final class DateHeaderPrivilegedAction implements PrivilegedAction {
  +    private final class DateHeaderPrivilegedAction
  +            implements PrivilegedAction {
  +
           private String name;
           private long value;
           private boolean add;
  @@ -90,7 +95,6 @@
       public ResponseFacade(Response response) {
   
            this.response = response;
  -
       }
   
   
  @@ -443,18 +447,16 @@
               return;
   
           response.setStatus(sc, sm);
  -
       }
   
   
  -	public String getContentType() {
  -		return response.getContentType();
  -	}
  +    public String getContentType() {
  +        return response.getContentType();
  +    }
   
   
  -	public void setCharacterEncoding(String arg0) {
  +    public void setCharacterEncoding(String arg0) {
           response.setCharacterEncoding(arg0);
  -	}
  -
  +    }
   
   }
  
  
  

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