Repository: ant
Updated Branches:
  refs/heads/1.9.x 03481a6b0 -> 647bdfb2d


whitespace


Project: http://git-wip-us.apache.org/repos/asf/ant/repo
Commit: http://git-wip-us.apache.org/repos/asf/ant/commit/434193d0
Tree: http://git-wip-us.apache.org/repos/asf/ant/tree/434193d0
Diff: http://git-wip-us.apache.org/repos/asf/ant/diff/434193d0

Branch: refs/heads/1.9.x
Commit: 434193d088f3b5b526ed7d7ff5ea21917c9b90d9
Parents: 03481a6
Author: Stefan Bodewig <[email protected]>
Authored: Sun May 1 06:35:51 2016 +0200
Committer: Stefan Bodewig <[email protected]>
Committed: Sun May 1 06:35:51 2016 +0200

----------------------------------------------------------------------
 src/main/org/apache/tools/ant/taskdefs/Get.java | 28 ++++++++++----------
 1 file changed, 14 insertions(+), 14 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ant/blob/434193d0/src/main/org/apache/tools/ant/taskdefs/Get.java
----------------------------------------------------------------------
diff --git a/src/main/org/apache/tools/ant/taskdefs/Get.java 
b/src/main/org/apache/tools/ant/taskdefs/Get.java
index c636ab5..5ff9a54 100644
--- a/src/main/org/apache/tools/ant/taskdefs/Get.java
+++ b/src/main/org/apache/tools/ant/taskdefs/Get.java
@@ -135,23 +135,23 @@ public class Get extends Task {
                 }
             }
 
-        //set up logging
-        final int logLevel = Project.MSG_INFO;
-        DownloadProgress progress = null;
-        if (verbose) {
-            progress = new VerboseProgress(System.out);
-        }
+            //set up logging
+            final int logLevel = Project.MSG_INFO;
+            DownloadProgress progress = null;
+            if (verbose) {
+                progress = new VerboseProgress(System.out);
+            }
 
-        //execute the get
-        try {
-            doGet(source, dest, logLevel, progress);
-        } catch (final IOException ioe) {
-            log("Error getting " + source + " to " + dest);
-            if (!ignoreErrors) {
-                throw new BuildException(ioe, getLocation());
+            //execute the get
+            try {
+                doGet(source, dest, logLevel, progress);
+            } catch (final IOException ioe) {
+                log("Error getting " + source + " to " + dest);
+                if (!ignoreErrors) {
+                    throw new BuildException(ioe, getLocation());
+                }
             }
         }
-        }
     }
 
     /**

Reply via email to