ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/types ZipScanner.java
Date Sun, 27 Jan 2002 09:56:31 GMT
donaldp     02/01/27 01:56:31

  Modified:    proposal/myrmidon/src/main/org/apache/tools/ant/types
                        ZipScanner.java
  Log:
  Cosmetic touchups
  
  Revision  Changes    Path
  1.6       +5 -5      jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/types/ZipScanner.java
  
  Index: ZipScanner.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/types/ZipScanner.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- ZipScanner.java	12 Jan 2002 23:56:33 -0000	1.5
  +++ ZipScanner.java	27 Jan 2002 09:56:31 -0000	1.6
  @@ -26,7 +26,7 @@
       /**
        * The zip file which should be scanned.
        */
  -    private File m_srcFile;
  +    private File m_src;
   
       /**
        * Sets the srcFile for scanning. This is the jar or zip file that is
  @@ -34,9 +34,9 @@
        *
        * @param srcFile the (non-null) zip file name for scanning
        */
  -    public void setSrc( File srcFile )
  +    public void setSrc( final File srcFile )
       {
  -        this.m_srcFile = srcFile;
  +        m_src = srcFile;
       }
   
       /**
  @@ -58,8 +58,8 @@
        */
       public String[] getIncludedFiles()
       {
  -        String[] result = new String[ 1 ];
  -        result[ 0 ] = m_srcFile.getAbsolutePath();
  +        final String[] result = new String[ 1 ];
  +        result[ 0 ] = m_src.getAbsolutePath();
           return result;
       }
   
  
  
  

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


Mime
View raw message