ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r693075 - /ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Delete.java
Date Mon, 08 Sep 2008 12:32:35 GMT
Author: bodewig
Date: Mon Sep  8 05:32:35 2008
New Revision: 693075

URL: http://svn.apache.org/viewvc?rev=693075&view=rev
Log:
whitespace

Modified:
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Delete.java

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Delete.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Delete.java?rev=693075&r1=693074&r2=693075&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Delete.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Delete.java Mon Sep  8 05:32:35
2008
@@ -539,20 +539,19 @@
         }
 
         // delete the directory
-        if (dir != null
-            && !usedMatchingTask) {
+        if (dir != null && !usedMatchingTask) {
             if (dir.exists() && dir.isDirectory()) {
-            /*
-               If verbosity is MSG_VERBOSE, that mean we are doing
-               regular logging (backwards as that sounds).  In that
-               case, we want to print one message about deleting the
-               top of the directory tree.  Otherwise, the removeDir
-               method will handle messages for _all_ directories.
-             */
-            if (verbosity == Project.MSG_VERBOSE) {
-                log("Deleting directory " + dir.getAbsolutePath());
-            }
-            removeDir(dir);
+                /*
+                  If verbosity is MSG_VERBOSE, that mean we are doing
+                  regular logging (backwards as that sounds).  In that
+                  case, we want to print one message about deleting the
+                  top of the directory tree.  Otherwise, the removeDir
+                  method will handle messages for _all_ directories.
+                */
+                if (verbosity == Project.MSG_VERBOSE) {
+                    log("Deleting directory " + dir.getAbsolutePath());
+                }
+                removeDir(dir);
             } else if (isDanglingSymlink(dir)) {
                 log("Trying to delete directory " + dir.getAbsolutePath()
                     + " which looks like a broken symlink.",



Mime
View raw message