Browse Source

whitespace changes

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@668626 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 17 years ago
parent
commit
d3c9ac9bf9
1 changed files with 7 additions and 7 deletions
  1. +7
    -7
      src/main/org/apache/tools/ant/taskdefs/Definer.java

+ 7
- 7
src/main/org/apache/tools/ant/taskdefs/Definer.java View File

@@ -340,15 +340,15 @@ public abstract class Definer extends DefBase {
if (message == null && !(file.isFile())) {
message = "File " + file + " is not a file";
}
if (message == null) {
try {
if (message == null) {
try {
return FileUtils.getFileUtils().getFileURL(file);
} catch (Exception ex) {
message =
"File " + file + " cannot use as URL: "
+ ex.toString();
}
} catch (Exception ex) {
message =
"File " + file + " cannot use as URL: "
+ ex.toString();
}
}
// Here if there is an error
switch (onError) {
case OnError.FAIL_ALL:


Loading…
Cancel
Save