ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs ExecTask.java
Date Sat, 08 Dec 2001 07:32:34 GMT
stevel      01/12/07 23:32:34

  Modified:    src/main/org/apache/tools/ant/taskdefs ExecTask.java
  Log:
  Removing a redundant check.
  
  Revision  Changes    Path
  1.24      +2 -3      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/ExecTask.java
  
  Index: ExecTask.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/ExecTask.java,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- ExecTask.java	2001/12/03 20:24:50	1.23
  +++ ExecTask.java	2001/12/08 07:32:34	1.24
  @@ -194,9 +194,8 @@
        */
       protected void maybeSetResultPropertyValue(int result) {
           String res=Integer.toString(result);
  -        if(resultProperty!=null
  -           && project.getProperty(resultProperty) == null) {
  -                project.setNewProperty(resultProperty,res);
  +        if(resultProperty!=null) {
  +            project.setNewProperty(resultProperty,res);
           }
       }
       
  
  
  

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