From ab318cb4474712459d88851e3472fe4e1120e25a Mon Sep 17 00:00:00 2001 From: Peter Reilly Date: Mon, 7 Mar 2005 09:41:16 +0000 Subject: [PATCH] yuck, tabs git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277801 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/tools/ant/taskdefs/SubAnt.java | 34 +++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/src/main/org/apache/tools/ant/taskdefs/SubAnt.java b/src/main/org/apache/tools/ant/taskdefs/SubAnt.java index 1d5c46d09..2d64b15f2 100644 --- a/src/main/org/apache/tools/ant/taskdefs/SubAnt.java +++ b/src/main/org/apache/tools/ant/taskdefs/SubAnt.java @@ -181,16 +181,16 @@ public class SubAnt BuildException buildException = null; for (int i = 0; i < count; ++i) { File file = null; - String subdirPath = null; + String subdirPath = null; Throwable thrownException = null; try { File directory = null; file = new File(filenames[i]); if (file.isDirectory()) { - if (verbose) { - subdirPath = file.getPath(); - log("Entering directory: " + subdirPath + "\n", Project.MSG_INFO); - } + if (verbose) { + subdirPath = file.getPath(); + log("Entering directory: " + subdirPath + "\n", Project.MSG_INFO); + } if (genericantfile != null) { directory = file; file = genericantfile; @@ -199,22 +199,22 @@ public class SubAnt } } execute(file, directory); - if (verbose && subdirPath != null) { - log("Leaving directory: " + subdirPath + "\n", Project.MSG_INFO); - } + if (verbose && subdirPath != null) { + log("Leaving directory: " + subdirPath + "\n", Project.MSG_INFO); + } } catch (RuntimeException ex) { if (!(getProject().isKeepGoingMode())) { - if (verbose && subdirPath != null) { - log("Leaving directory: " + subdirPath + "\n", Project.MSG_INFO); - } + if (verbose && subdirPath != null) { + log("Leaving directory: " + subdirPath + "\n", Project.MSG_INFO); + } throw ex; // throw further } thrownException = ex; } catch (Throwable ex) { if (!(getProject().isKeepGoingMode())) { - if (verbose && subdirPath != null) { - log("Leaving directory: " + subdirPath + "\n", Project.MSG_INFO); - } + if (verbose && subdirPath != null) { + log("Leaving directory: " + subdirPath + "\n", Project.MSG_INFO); + } throw new BuildException(ex); } thrownException = ex; @@ -238,9 +238,9 @@ public class SubAnt new BuildException(thrownException); } } - if (verbose && subdirPath != null) { - log("Leaving directory: " + subdirPath + "\n", Project.MSG_INFO); - } + if (verbose && subdirPath != null) { + log("Leaving directory: " + subdirPath + "\n", Project.MSG_INFO); + } } } // check if one of the builds failed in keep going mode