Browse Source

Fixed missing braces.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278091 13f79535-47bb-0310-9956-ffa450edef68
master
Jesse N. Glick 20 years ago
parent
commit
4da35d2138
1 changed files with 5 additions and 4 deletions
  1. +5
    -4
      src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java

+ 5
- 4
src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java View File

@@ -1505,7 +1505,7 @@ public class JUnitTask extends Task {
/**
* 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 @@ public class JUnitTask extends Task {
/**
* 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 @@ public class JUnitTask extends Task {
}
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);
}
}
}



Loading…
Cancel
Save