jglick      2005/03/30 09:06:40

  Modified:    src/main/org/apache/tools/ant/taskdefs/optional/junit
                        JUnitTask.java
  Log:
  Fixed missing braces.
  
  Revision  Changes    Path
  1.117     +5 -4      
ant/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java
  
  Index: JUnitTask.java
  ===================================================================
  RCS file: 
/home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java,v
  retrieving revision 1.116
  retrieving revision 1.117
  diff -u -r1.116 -r1.117
  --- JUnitTask.java    29 Mar 2005 19:19:04 -0000      1.116
  +++ JUnitTask.java    30 Mar 2005 17:06:39 -0000      1.117
  @@ -1505,7 +1505,7 @@
       /**
        * Logs information about failed tests, potentially stops
        * processing (by throwing a BuildException) if a failure/error
  -     * occured or sets a property.
  +     * occurred or sets a property.
        *
        * @since Ant 1.6.2
        */
  @@ -1520,7 +1520,7 @@
       /**
        * Logs information about failed tests, potentially stops
        * processing (by throwing a BuildException) if a failure/error
  -     * occured or sets a property.
  +     * occurred or sets a property.
        *
        * @since Ant 1.7
        */
  @@ -1571,10 +1571,11 @@
           }
           
           protected void processLine(String line, int level) {
  -            if (line.startsWith(TESTLISTENER_PREFIX))
  +            if (line.startsWith(TESTLISTENER_PREFIX)) {
                   task.log(line, Project.MSG_VERBOSE);
  -            else
  +            } else {
                   super.processLine(line, level);
  +            }
           }
       }
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to