Browse Source

Fix some incorrect comments

PR:	23042


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275220 13f79535-47bb-0310-9956-ffa450edef68
master
Conor MacNeill 21 years ago
parent
commit
6330dbe30f
4 changed files with 12 additions and 12 deletions
  1. +2
    -2
      src/main/org/apache/tools/ant/Task.java
  2. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/CallTarget.java
  3. +5
    -5
      src/main/org/apache/tools/ant/taskdefs/Java.java
  4. +4
    -4
      src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java

+ 2
- 2
src/main/org/apache/tools/ant/Task.java View File

@@ -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>.
*/
@@ -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>.
*


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/CallTarget.java View File

@@ -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
*/


+ 5
- 5
src/main/org/apache/tools/ant/taskdefs/Java.java View File

@@ -98,7 +98,7 @@ public class Java extends Task {
private Redirector redirector = new Redirector(this);
private String resultProperty;
private Permissions perm = null;
private boolean spawn = false;
private boolean incompatibleWithSpawn = false;
/**
@@ -271,7 +271,7 @@ public class Java extends Task {
}
return perm;
}
/**
* Classpath to use, by reference.
*
@@ -589,7 +589,7 @@ public class Java extends Task {
/**
* assertions to enable in this program (if fork=true)
* @since Ant 1.6
* @param asserts assertion set
* @param asserts assertion set
*/
public void setAssertions(Assertions 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
*
@@ -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
*


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

@@ -566,7 +566,7 @@ public class JUnitTask extends Task {
/**
* Assertions to enable in this program (if fork=true)
* @since Ant 1.6
* @param asserts assertion set
* @param asserts assertion set
*/
public void setAssertions(Assertions 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
* collect ot for the formatters.
* collect it for the formatters.
*
* @param output output coming from System.err
* @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
* collect ot for the formatters.
* collect it for the formatters.
*
* @param output coming from System.err
* @since Ant 1.5.2
@@ -953,7 +953,7 @@ public class JUnitTask extends Task {
f.setOutput(getDefaultOutput());
runner.addFormatter(f);
}
runner.setPermissions(perm);

final FormatterElement[] feArray = mergeFormatters(test);


Loading…
Cancel
Save