PR: 23042 git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275220 13f79535-47bb-0310-9956-ffa450edef68master
@@ -344,7 +344,7 @@ public abstract class Task extends ProjectComponent { | |||||
} | } | ||||
/** | /** | ||||
* Handles an error output by logging it with the INFO priority. | |||||
* Handles an error output by logging it with the ERR priority. | |||||
* | * | ||||
* @param output The error output to log. Should not be <code>null</code>. | * @param output The error output to log. Should not be <code>null</code>. | ||||
*/ | */ | ||||
@@ -353,7 +353,7 @@ public abstract class Task extends ProjectComponent { | |||||
} | } | ||||
/** | /** | ||||
* Handles an error line by logging it with the INFO priority. | |||||
* Handles an error line by logging it with the ERR priority. | |||||
* | * | ||||
* @param output The error output to log. Should not be <code>null</code>. | * @param output The error output to log. Should not be <code>null</code>. | ||||
* | * | ||||
@@ -239,7 +239,7 @@ public class CallTarget extends Task { | |||||
} | } | ||||
/** | /** | ||||
* Pass output sent to System.err to the new project. | |||||
* Pass output sent to System.err to the new project and flush stream. | |||||
* | * | ||||
* @since Ant 1.5.2 | * @since Ant 1.5.2 | ||||
*/ | */ | ||||
@@ -98,7 +98,7 @@ public class Java extends Task { | |||||
private Redirector redirector = new Redirector(this); | private Redirector redirector = new Redirector(this); | ||||
private String resultProperty; | private String resultProperty; | ||||
private Permissions perm = null; | private Permissions perm = null; | ||||
private boolean spawn = false; | private boolean spawn = false; | ||||
private boolean incompatibleWithSpawn = false; | private boolean incompatibleWithSpawn = false; | ||||
/** | /** | ||||
@@ -271,7 +271,7 @@ public class Java extends Task { | |||||
} | } | ||||
return perm; | return perm; | ||||
} | } | ||||
/** | /** | ||||
* Classpath to use, by reference. | * Classpath to use, by reference. | ||||
* | * | ||||
@@ -589,7 +589,7 @@ public class Java extends Task { | |||||
/** | /** | ||||
* assertions to enable in this program (if fork=true) | * assertions to enable in this program (if fork=true) | ||||
* @since Ant 1.6 | * @since Ant 1.6 | ||||
* @param asserts assertion set | |||||
* @param asserts assertion set | |||||
*/ | */ | ||||
public void setAssertions(Assertions asserts) { | public void setAssertions(Assertions asserts) { | ||||
cmdl.setAssertions(asserts); | cmdl.setAssertions(asserts); | ||||
@@ -647,7 +647,7 @@ public class Java extends Task { | |||||
} | } | ||||
/** | /** | ||||
* Pass output sent to System.err to specified output file. | |||||
* Handle output sent to System.err | |||||
* | * | ||||
* @param output string of stderr | * @param output string of stderr | ||||
* | * | ||||
@@ -662,7 +662,7 @@ public class Java extends Task { | |||||
} | } | ||||
/** | /** | ||||
* Pass output sent to System.err to specified output file. | |||||
* Handle output sent to System.err and flush the stream. | |||||
* | * | ||||
* @param output string of stderr | * @param output string of stderr | ||||
* | * | ||||
@@ -566,7 +566,7 @@ public class JUnitTask extends Task { | |||||
/** | /** | ||||
* Assertions to enable in this program (if fork=true) | * Assertions to enable in this program (if fork=true) | ||||
* @since Ant 1.6 | * @since Ant 1.6 | ||||
* @param asserts assertion set | |||||
* @param asserts assertion set | |||||
*/ | */ | ||||
public void setAssertions(Assertions asserts) { | public void setAssertions(Assertions asserts) { | ||||
commandline.setAssertions(asserts); | commandline.setAssertions(asserts); | ||||
@@ -865,7 +865,7 @@ public class JUnitTask extends Task { | |||||
/** | /** | ||||
* Pass output sent to System.err to the TestRunner so it can | * Pass output sent to System.err to the TestRunner so it can | ||||
* collect ot for the formatters. | |||||
* collect it for the formatters. | |||||
* | * | ||||
* @param output output coming from System.err | * @param output output coming from System.err | ||||
* @since Ant 1.5 | * @since Ant 1.5 | ||||
@@ -884,7 +884,7 @@ public class JUnitTask extends Task { | |||||
/** | /** | ||||
* Pass output sent to System.err to the TestRunner so it can | * Pass output sent to System.err to the TestRunner so it can | ||||
* collect ot for the formatters. | |||||
* collect it for the formatters. | |||||
* | * | ||||
* @param output coming from System.err | * @param output coming from System.err | ||||
* @since Ant 1.5.2 | * @since Ant 1.5.2 | ||||
@@ -953,7 +953,7 @@ public class JUnitTask extends Task { | |||||
f.setOutput(getDefaultOutput()); | f.setOutput(getDefaultOutput()); | ||||
runner.addFormatter(f); | runner.addFormatter(f); | ||||
} | } | ||||
runner.setPermissions(perm); | runner.setPermissions(perm); | ||||
final FormatterElement[] feArray = mergeFormatters(test); | final FormatterElement[] feArray = mergeFormatters(test); | ||||