Browse Source

whitespace

master
Stefan Bodewig 9 years ago
parent
commit
434193d088
1 changed files with 14 additions and 14 deletions
  1. +14
    -14
      src/main/org/apache/tools/ant/taskdefs/Get.java

+ 14
- 14
src/main/org/apache/tools/ant/taskdefs/Get.java View File

@@ -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());
}
}
}
}
}

/**


Loading…
Cancel
Save