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/java/org/apache/myrmidon/frontends CLIMain.java
Date Mon, 28 Jan 2002 09:22:30 GMT
donaldp     02/01/28 01:22:30

  Modified:    proposal/myrmidon/src/java/org/apache/myrmidon/frontends
                        CLIMain.java
  Log:
  Remove unused imports
  
  Revision  Changes    Path
  1.19      +6 -7      jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/frontends/CLIMain.java
  
  Index: CLIMain.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/frontends/CLIMain.java,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- CLIMain.java	26 Jan 2002 12:03:31 -0000	1.18
  +++ CLIMain.java	28 Jan 2002 09:22:30 -0000	1.19
  @@ -11,9 +11,7 @@
   import java.io.File;
   import java.io.InputStreamReader;
   import java.util.ArrayList;
  -import java.util.Iterator;
   import java.util.List;
  -import java.util.Map;
   import org.apache.avalon.excalibur.cli.CLArgsParser;
   import org.apache.avalon.excalibur.cli.CLOption;
   import org.apache.avalon.excalibur.cli.CLOptionDescriptor;
  @@ -31,7 +29,6 @@
   import org.apache.log.format.PatternFormatter;
   import org.apache.log.output.io.StreamTarget;
   import org.apache.myrmidon.Constants;
  -import org.apache.myrmidon.api.TaskContext;
   import org.apache.myrmidon.api.TaskException;
   import org.apache.myrmidon.components.embeddor.DefaultEmbeddor;
   import org.apache.myrmidon.interfaces.embeddor.Embeddor;
  @@ -381,8 +378,9 @@
   
               doBuild( workspace, project, m_targets );
   
  -            if( !incremental ) {
  -              break;
  +            if( !incremental )
  +            {
  +                break;
               }
   
               final String message = REZ.getString( "repeat.notice" );
  @@ -395,8 +393,9 @@
   
               String line = reader.readLine();
   
  -            if( line.equalsIgnoreCase( "no" ) ) {
  -              break;
  +            if( line.equalsIgnoreCase( "no" ) )
  +            {
  +                break;
               }
   
           }
  
  
  

--
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