Browse Source

Javadocing

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274022 13f79535-47bb-0310-9956-ffa450edef68
master
Conor MacNeill 22 years ago
parent
commit
dd5a678d41
6 changed files with 18 additions and 8 deletions
  1. +3
    -0
      src/main/org/apache/tools/ant/Project.java
  2. +1
    -0
      src/main/org/apache/tools/ant/Task.java
  3. +2
    -8
      src/main/org/apache/tools/ant/UnknownElement.java
  4. +2
    -0
      src/main/org/apache/tools/ant/taskdefs/Ant.java
  5. +5
    -0
      src/main/org/apache/tools/ant/taskdefs/CallTarget.java
  6. +5
    -0
      src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner.java

+ 3
- 0
src/main/org/apache/tools/ant/Project.java View File

@@ -231,6 +231,7 @@ public class Project {
* *
* @param defaultInputStream the default input stream to use when input * @param defaultInputStream the default input stream to use when input
* is reuested. * is reuested.
* @since Ant 1.6
*/ */
public void setDefaultInputStream(InputStream defaultInputStream) { public void setDefaultInputStream(InputStream defaultInputStream) {
this.defaultInputStream = defaultInputStream; this.defaultInputStream = defaultInputStream;
@@ -1293,6 +1294,7 @@ public class Project {
* @return the number of bytes read * @return the number of bytes read
* *
* @exception IOException if the data cannot be read * @exception IOException if the data cannot be read
* @since Ant 1.6
*/ */
public int defaultInput(byte[] buffer, int offset, int length) public int defaultInput(byte[] buffer, int offset, int length)
throws IOException { throws IOException {
@@ -1313,6 +1315,7 @@ public class Project {
* @return the number of bytes read * @return the number of bytes read
* *
* @exception IOException if the data cannot be read * @exception IOException if the data cannot be read
* @since Ant 1.6
*/ */
public int demuxInput(byte[] buffer, int offset, int length) public int demuxInput(byte[] buffer, int offset, int length)
throws IOException { throws IOException {


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

@@ -323,6 +323,7 @@ public abstract class Task extends ProjectComponent {
* @return the number of bytes read * @return the number of bytes read
* *
* @exception IOException if the data cannot be read * @exception IOException if the data cannot be read
* @since Ant 1.6
*/ */
protected int handleInput(byte[] buffer, int offset, int length) protected int handleInput(byte[] buffer, int offset, int length)
throws IOException { throws IOException {


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

@@ -158,15 +158,9 @@ public class UnknownElement extends Task {
} }


/** /**
* Handle an input request by this element
*
* @param buffer the buffer into which data is to be read.
* @param offset the offset into the buffer at which data is stored.
* @param length the amount of data to read
*
* @return the number of bytes read
* @see Task#handleInput(byte[], int, int)
* *
* @exception IOException if the data cannot be read
* @since Ant 1.6
*/ */
protected int handleInput(byte[] buffer, int offset, int length) protected int handleInput(byte[] buffer, int offset, int length)
throws IOException { throws IOException {


+ 2
- 0
src/main/org/apache/tools/ant/taskdefs/Ant.java View File

@@ -298,6 +298,8 @@ public class Ant extends Task {


/** /**
* @see Task#handleInput(byte[], int, int) * @see Task#handleInput(byte[], int, int)
*
* @since Ant 1.6
*/ */
public int handleInput(byte[] buffer, int offset, int length) public int handleInput(byte[] buffer, int offset, int length)
throws IOException { throws IOException {


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

@@ -186,6 +186,11 @@ public class CallTarget extends Task {
} }
} }
/**
* @see Task#handleInput(byte[], int, int)
*
* @since Ant 1.6
*/
public int handleInput(byte[] buffer, int offset, int length) public int handleInput(byte[] buffer, int offset, int length)
throws IOException { throws IOException {
if (callee != null) { if (callee != null) {


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

@@ -410,6 +410,11 @@ public class JUnitTestRunner implements TestListener {
} }
} }
/**
* @see Task#handleInput(byte[], int, int)
*
* @since Ant 1.6
*/
protected int handleInput(byte[] buffer, int offset, int length) protected int handleInput(byte[] buffer, int offset, int length)
throws IOException { throws IOException {
return -1; return -1;


Loading…
Cancel
Save