You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bo...@apache.org on 2008/06/17 13:59:22 UTC
svn commit: r668626 -
/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Definer.java
Author: bodewig
Date: Tue Jun 17 04:59:21 2008
New Revision: 668626
URL: http://svn.apache.org/viewvc?rev=668626&view=rev
Log:
whitespace changes
Modified:
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Definer.java
Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Definer.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Definer.java?rev=668626&r1=668625&r2=668626&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Definer.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Definer.java Tue Jun 17 04:59:21 2008
@@ -340,15 +340,15 @@
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: