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/taskdefs/optional NetRexxC.java
Date Tue, 08 Jan 2002 22:51:39 GMT
sbailliez    02/01/08 14:51:39

  Modified:    src/main/org/apache/tools/ant/taskdefs/optional
                        NetRexxC.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.11      +3 -1      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/NetRexxC.java
  
  Index: NetRexxC.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/NetRexxC.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- NetRexxC.java	28 Oct 2001 21:30:18 -0000	1.10
  +++ NetRexxC.java	8 Jan 2002 22:51:39 -0000	1.11
  @@ -197,7 +197,9 @@
        */
       public void setCompile(boolean compile) {
           this.compile = compile;
  -        if (!this.compile && !this.keep) this.keep = true;
  +        if (!this.compile && !this.keep) {
  +          this.keep = true;
  +        }
       }
   
       /**
  
  
  

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