ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@locus.apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs Javac.java
Date Sat, 04 Mar 2000 20:07:02 GMT
rubys       00/03/04 12:07:02

  Modified:    src/main/org/apache/tools/ant/taskdefs Javac.java
  Log:
  Allow subclasses to extend scanDir functionality
  Submitted by: Jorgen Thelin <ant-dev@sw-technologies.com>
  
  Revision  Changes    Path
  1.10      +4 -4      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Javac.java
  
  Index: Javac.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Javac.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- Javac.java	2000/02/28 02:17:57	1.9
  +++ Javac.java	2000/03/04 20:07:02	1.10
  @@ -97,8 +97,8 @@
       private String bootclasspath;
       private String extdirs;
   
  -    private Vector compileList = new Vector();
  -    private Hashtable filecopyList = new Hashtable();
  +    protected Vector compileList = new Vector();
  +    protected Hashtable filecopyList = new Hashtable();
   
       /**
        * Set the source dir to find the source Java files.
  @@ -193,7 +193,7 @@
           // scan source and dest dirs to build up both copy lists and
           // compile lists
   
  -        DirectoryScanner ds = super.getDirectoryScanner(srcDir);
  +        DirectoryScanner ds = this.getDirectoryScanner(srcDir);
   
           String[] files = ds.getIncludedFiles();
   
  @@ -252,7 +252,7 @@
        * class variables compileList and filecopyList.
        */
   
  -    private void scanDir(File srcDir, File destDir, String files[]) {
  +    protected void scanDir(File srcDir, File destDir, String files[]) {
   
           compileList.removeAllElements();
           filecopyList.clear();
  
  
  

Mime
View raw message