tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cos...@locus.apache.org
Subject cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/loader SimpleFileFilter.java
Date Wed, 16 Feb 2000 07:36:25 GMT
costin      00/02/15 23:36:25

  Modified:    src/share/org/apache/tomcat/loader SimpleFileFilter.java
  Log:
  Fix bug: 3.
  
  Thanks juha@akumiitti.fi for finding the bug and the fix.
  Submitted by:  juha@akumiitti.fi
  
  Revision  Changes    Path
  1.3       +2 -2      jakarta-tomcat/src/share/org/apache/tomcat/loader/SimpleFileFilter.java
  
  Index: SimpleFileFilter.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/loader/SimpleFileFilter.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- SimpleFileFilter.java	2000/02/08 20:37:14	1.2
  +++ SimpleFileFilter.java	2000/02/16 07:36:24	1.3
  @@ -64,7 +64,7 @@
    * interface.
    *
    * @author <a href="mailto:mjenning@islandnet.com">Mike Jennings</a>
  - * @version $Revision: 1.2 $
  + * @version $Revision: 1.3 $
    */
   public class SimpleFileFilter implements FilenameFilter {
        private String[] extensions;
  @@ -110,7 +110,7 @@
                 return files;
             } else {
                 files=new String[1];
  -              files[0]=fname;
  +              files[0]=f.getPath();// was:fname;
                 return files;
             }
         }
  
  
  

Mime
View raw message