Browse Source

whitespace changes only

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276987 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 20 years ago
parent
commit
c8203de650
2 changed files with 15 additions and 15 deletions
  1. +6
    -6
      src/main/org/apache/tools/ant/taskdefs/Recorder.java
  2. +9
    -9
      src/main/org/apache/tools/ant/taskdefs/RecorderEntry.java

+ 6
- 6
src/main/org/apache/tools/ant/taskdefs/Recorder.java View File

@@ -201,13 +201,13 @@ public class Recorder extends Task {


if (o == null) { if (o == null) {
// create a recorder entry // create a recorder entry
entry = new RecorderEntry(name);
entry = new RecorderEntry(name);


if (append == null) {
entry.openFile(false);
} else {
entry.openFile(append.booleanValue());
}
if (append == null) {
entry.openFile(false);
} else {
entry.openFile(append.booleanValue());
}
entry.setProject(proj); entry.setProject(proj);
recorderEntries.put(name, entry); recorderEntries.put(name, entry);
} else { } else {


+ 9
- 9
src/main/org/apache/tools/ant/taskdefs/RecorderEntry.java View File

@@ -97,15 +97,15 @@ public class RecorderEntry implements BuildLogger, SubBuildListener {
log("< BUILD FINISHED", Project.MSG_DEBUG); log("< BUILD FINISHED", Project.MSG_DEBUG);


if (record && out != null) { if (record && out != null) {
Throwable error = event.getException();
if (error == null) {
out.println(StringUtils.LINE_SEP + "BUILD SUCCESSFUL");
} else {
out.println(StringUtils.LINE_SEP + "BUILD FAILED"
+ StringUtils.LINE_SEP);
error.printStackTrace(out);
}
Throwable error = event.getException();
if (error == null) {
out.println(StringUtils.LINE_SEP + "BUILD SUCCESSFUL");
} else {
out.println(StringUtils.LINE_SEP + "BUILD FAILED"
+ StringUtils.LINE_SEP);
error.printStackTrace(out);
}
} }
cleanup(); cleanup();
} }


Loading…
Cancel
Save