tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat5 CoyoteResponse.java
Date Wed, 04 Sep 2002 18:54:03 GMT
bobh        2002/09/04 11:54:02

  Modified:    coyote/src/java/org/apache/coyote/tomcat4
                        CoyoteResponse.java
               coyote/src/java/org/apache/coyote/tomcat5
                        CoyoteResponse.java
  Log:
  - Oops, fix the tabs (I also fixed my .emacs to prevent this from
  happening again.)
  
  Revision  Changes    Path
  1.22      +7 -7      jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat4/CoyoteResponse.java
  
  Index: CoyoteResponse.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat4/CoyoteResponse.java,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- CoyoteResponse.java	4 Sep 2002 18:48:08 -0000	1.21
  +++ CoyoteResponse.java	4 Sep 2002 18:54:02 -0000	1.22
  @@ -790,10 +790,10 @@
       public String[] getHeaderValues(String name) {
   
           MimeHeaders headers = coyoteResponse.getMimeHeaders();
  -	Vector result = new Vector();
  +        Vector result = new Vector();
           for (int i = 0; i < headers.size(); i++) {
  -	    if (name.equals( headers.getName(i).toString() ))
  -		result.addElement( headers.getValue(i).toString() );
  +            if (name.equals( headers.getName(i).toString() ))
  +                result.addElement( headers.getValue(i).toString() );
           }
           String[] resultArray = new String[result.size()];
           result.copyInto(resultArray);
  
  
  
  1.6       +7 -7      jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat5/CoyoteResponse.java
  
  Index: CoyoteResponse.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat5/CoyoteResponse.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- CoyoteResponse.java	4 Sep 2002 18:48:08 -0000	1.5
  +++ CoyoteResponse.java	4 Sep 2002 18:54:02 -0000	1.6
  @@ -815,10 +815,10 @@
       public String[] getHeaderValues(String name) {
   
           MimeHeaders headers = coyoteResponse.getMimeHeaders();
  -	Vector result = new Vector();
  +        Vector result = new Vector();
           for (int i = 0; i < headers.size(); i++) {
  -	    if (name.equals( headers.getName(i).toString() ))
  -		result.addElement( headers.getValue(i).toString() );
  +            if (name.equals( headers.getName(i).toString() ))
  +                result.addElement( headers.getValue(i).toString() );
           }
           String[] resultArray = new String[result.size()];
           result.copyInto(resultArray);
  
  
  

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


Mime
View raw message