ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r692083 - /ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/unix/Symlink.java
Date Thu, 04 Sep 2008 15:02:28 GMT
Author: bodewig
Date: Thu Sep  4 08:02:27 2008
New Revision: 692083

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

Modified:
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/unix/Symlink.java

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/unix/Symlink.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/unix/Symlink.java?rev=692083&r1=692082&r2=692083&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/unix/Symlink.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/unix/Symlink.java Thu Sep
 4 08:02:27 2008
@@ -449,15 +449,16 @@
             }
         } finally {
             if (renamedTarget) {
-            // return the resource to its original name:
-            try {
-                FILE_UTILS.rename(temp, canfil);
-            } catch (IOException e) {
-                throw new IOException("Couldn't return resource " + temp
-                    + " to its original name: " + canfil.getAbsolutePath()
-                    + "\n THE RESOURCE'S NAME ON DISK HAS "
-                    + "BEEN CHANGED BY THIS ERROR!\n");
-            }
+                // return the resource to its original name:
+                try {
+                    FILE_UTILS.rename(temp, canfil);
+                } catch (IOException e) {
+                    throw new IOException("Couldn't return resource " + temp
+                                          + " to its original name: "
+                                          + canfil.getAbsolutePath()
+                                          + "\n THE RESOURCE'S NAME ON DISK HAS "
+                                          + "BEEN CHANGED BY THIS ERROR!\n");
+                }
             }
         }
     }



Mime
View raw message