commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ima...@apache.org
Subject cvs commit: jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/provider/http HttpFileContentInfoFactory.java
Date Sat, 22 May 2004 20:33:05 GMT
imario      2004/05/22 13:33:05

  Modified:    vfs/src/java/org/apache/commons/vfs/provider/http
                        HttpFileContentInfoFactory.java
  Log:
  removed unnecessary initialization
  
  Revision  Changes    Path
  1.3       +2 -2      jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/provider/http/HttpFileContentInfoFactory.java
  
  Index: HttpFileContentInfoFactory.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/provider/http/HttpFileContentInfoFactory.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- HttpFileContentInfoFactory.java	21 May 2004 20:54:37 -0000	1.2
  +++ HttpFileContentInfoFactory.java	22 May 2004 20:33:05 -0000	1.3
  @@ -42,7 +42,7 @@
           Header header = httpFile.getHeadMethod().getResponseHeader("content-type");
           if (header != null)
           {
  -            HeaderElement[] element = new org.apache.commons.httpclient.HeaderElement[0];
  +            HeaderElement[] element;
               try
               {
                   element = header.getValues();
  
  
  

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


Mime
View raw message