Browse Source

whitespace

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@692083 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 17 years ago
parent
commit
57dd5aeb7f
1 changed files with 10 additions and 9 deletions
  1. +10
    -9
      src/main/org/apache/tools/ant/taskdefs/optional/unix/Symlink.java

+ 10
- 9
src/main/org/apache/tools/ant/taskdefs/optional/unix/Symlink.java View File

@@ -449,15 +449,16 @@ public class Symlink extends DispatchTask {
}
} 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");
}
}
}
}


Loading…
Cancel
Save