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/testcases/org/apache/tools/ant/taskdefs AntTest.java
Date Fri, 10 Oct 2003 13:22:19 GMT
bodewig     2003/10/10 06:22:19

  Modified:    src/testcases/org/apache/tools/ant/taskdefs AntTest.java
  Log:
  Remove misleading debug output
  
  Revision  Changes    Path
  1.21      +3 -4      ant/src/testcases/org/apache/tools/ant/taskdefs/AntTest.java
  
  Index: AntTest.java
  ===================================================================
  RCS file: /home/cvs/ant/src/testcases/org/apache/tools/ant/taskdefs/AntTest.java,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- AntTest.java	10 Oct 2003 13:17:34 -0000	1.20
  +++ AntTest.java	10 Oct 2003 13:22:19 -0000	1.21
  @@ -492,7 +492,6 @@
           private String key;
           private int calls = 0;
           private AssertionFailedError error;
  -        private String message = "";
   
           PropertyChecker(String key, String[] values) {
               this.key = key;
  @@ -510,10 +509,10 @@
               if (event.getTarget().getName().equals("")) {
                   return;
               }
  -            message += ", " + event.getTarget().getName();
               if (calls >= expectedValues.length) {
                   error = new AssertionFailedError("Unexpected invocation of"
  -                                                 + " target " + message);
  +                                                 + " target "
  +                                                 + event.getTarget().getName());
               }
               
               if (error == null) {
  
  
  

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


Mime
View raw message