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 Mkdir.java
Date Sat, 26 Jan 2002 19:24:15 GMT
sbailliez    02/01/26 11:24:15

  Modified:    src/main/org/apache/tools/ant/taskdefs Mkdir.java
  Log:
  - fix conditional
  
  Revision  Changes    Path
  1.14      +1 -1      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Mkdir.java
  
  Index: Mkdir.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Mkdir.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- Mkdir.java	10 Jan 2002 13:59:31 -0000	1.13
  +++ Mkdir.java	26 Jan 2002 19:24:15 -0000	1.14
  @@ -79,7 +79,7 @@
   
           if (!dir.exists()) {
               boolean result = dir.mkdirs();
  -            if (result == false) {
  +            if (!result) {
                   String msg = "Directory " + dir.getAbsolutePath() + " creation was not
" +
                       "successful for an unknown reason";
                   throw new BuildException(msg, location);
  
  
  

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