ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r668626 - /ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Definer.java
Date Tue, 17 Jun 2008 11:59:22 GMT
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:



Mime
View raw message