ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jgl...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant/taskdefs Ant.java
Date Tue, 07 Dec 2004 06:44:34 GMT
jglick      2004/12/06 22:44:34

  Modified:    src/main/org/apache/tools/ant/taskdefs Ant.java
  Log:
  Minor stylistic refactoring.
  
  Revision  Changes    Path
  1.109     +3 -2      ant/src/main/org/apache/tools/ant/taskdefs/Ant.java
  
  Index: Ant.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/Ant.java,v
  retrieving revision 1.108
  retrieving revision 1.109
  diff -u -r1.108 -r1.109
  --- Ant.java	22 Nov 2004 09:23:27 -0000	1.108
  +++ Ant.java	7 Dec 2004 06:44:34 -0000	1.109
  @@ -31,6 +31,7 @@
   import org.apache.tools.ant.BuildException;
   import org.apache.tools.ant.BuildListener;
   import org.apache.tools.ant.DefaultLogger;
  +import org.apache.tools.ant.Executor;
   import org.apache.tools.ant.Project;
   import org.apache.tools.ant.ProjectComponent;
   import org.apache.tools.ant.ProjectHelper;
  @@ -64,7 +65,7 @@
   public class Ant extends Task {
   
       /** Target Executor */
  -    private static SingleCheckExecutor executor = new SingleCheckExecutor();
  +    private static final Executor EXECUTOR = new SingleCheckExecutor();
   
       /** the basedir where is executed the build file */
       private File dir = null;
  @@ -398,7 +399,7 @@
                   try {
                       log("Entering " + antFile + "...", Project.MSG_VERBOSE);
                       newProject.fireSubBuildStarted();
  -                    executor.executeTargets(newProject,
  +                    EXECUTOR.executeTargets(newProject,
                           (String[]) (locals.toArray(new String[locals.size()])));
   
                   } catch (BuildException ex) {
  
  
  

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


Mime
View raw message