ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant/taskdefs Recorder.java RecorderEntry.java
Date Tue, 02 Nov 2004 16:21:47 GMT
bodewig     2004/11/02 08:21:47

  Modified:    src/main/org/apache/tools/ant/taskdefs Recorder.java
                        RecorderEntry.java
  Log:
  whitespace changes only
  
  Revision  Changes    Path
  1.23      +6 -6      ant/src/main/org/apache/tools/ant/taskdefs/Recorder.java
  
  Index: Recorder.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/Recorder.java,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- Recorder.java	2 Nov 2004 16:19:48 -0000	1.22
  +++ Recorder.java	2 Nov 2004 16:21:47 -0000	1.23
  @@ -201,13 +201,13 @@
   
           if (o == null) {
               // 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);
               recorderEntries.put(name, entry);
           } else {
  
  
  
  1.20      +8 -8      ant/src/main/org/apache/tools/ant/taskdefs/RecorderEntry.java
  
  Index: RecorderEntry.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/RecorderEntry.java,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- RecorderEntry.java	2 Nov 2004 16:19:48 -0000	1.19
  +++ RecorderEntry.java	2 Nov 2004 16:21:47 -0000	1.20
  @@ -97,15 +97,15 @@
           log("< BUILD FINISHED", Project.MSG_DEBUG);
   
           if (record && out != null) {
  -        Throwable error = event.getException();
  +            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);
  -        }
  +            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();
       }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message