ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sbaill...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant Main.java
Date Tue, 08 Jan 2002 22:13:49 GMT
sbailliez    02/01/08 14:13:49

  Modified:    src/main/org/apache/tools/ant Main.java
  Log:
  Fix bad coding style.
  then/else parts of if statement and loop body must always been enclosed
  in a block statement.
  
  Revision  Changes    Path
  1.52      +2 -1      jakarta-ant/src/main/org/apache/tools/ant/Main.java
  
  Index: Main.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/Main.java,v
  retrieving revision 1.51
  retrieving revision 1.52
  diff -u -r1.51 -r1.52
  --- Main.java	15 Dec 2001 06:19:15 -0000	1.51
  +++ Main.java	8 Jan 2002 22:13:49 -0000	1.52
  @@ -264,8 +264,9 @@
                   if (posEq > 0) {
                       value = name.substring(posEq+1);
                       name = name.substring(0, posEq);
  -                } else if (i < args.length-1)
  +                } else if (i < args.length-1) {
                       value = args[++i];
  +                       }
   
                   definedProps.put(name, value);
               } else if (arg.equals("-logger")) {
  
  
  

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