diff --git a/src/main/org/apache/tools/ant/taskdefs/PumpStreamHandler.java b/src/main/org/apache/tools/ant/taskdefs/PumpStreamHandler.java index 6beaf69ca..cee3e48cf 100644 --- a/src/main/org/apache/tools/ant/taskdefs/PumpStreamHandler.java +++ b/src/main/org/apache/tools/ant/taskdefs/PumpStreamHandler.java @@ -1,5 +1,5 @@ /* - * Copyright 2000-2005 The Apache Software Foundation + * Copyright 2000-2006 The Apache Software Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -38,10 +38,10 @@ public class PumpStreamHandler implements ExecuteStreamHandler { private InputStream input; /** - * Construct a new PumpStreamHandler. - * @param out the output OutputStream. - * @param err the error OutputStream. - * @param input the input InputStream. + * Construct a new PumpStreamHandler. + * @param out the output OutputStream. + * @param err the error OutputStream. + * @param input the input InputStream. */ public PumpStreamHandler(OutputStream out, OutputStream err, InputStream input) { @@ -51,42 +51,42 @@ public class PumpStreamHandler implements ExecuteStreamHandler { } /** - * Construct a new PumpStreamHandler. - * @param out the output OutputStream. - * @param err the error OutputStream. + * Construct a new PumpStreamHandler. + * @param out the output OutputStream. + * @param err the error OutputStream. */ public PumpStreamHandler(OutputStream out, OutputStream err) { this(out, err, null); } /** - * Construct a new PumpStreamHandler. - * @param outAndErr the output/error OutputStream. + * Construct a new PumpStreamHandler. + * @param outAndErr the output/error OutputStream. */ public PumpStreamHandler(OutputStream outAndErr) { this(outAndErr, outAndErr); } /** - * Construct a new PumpStreamHandler. + * Construct a new PumpStreamHandler. */ public PumpStreamHandler() { this(System.out, System.err); } /** - * Set the InputStream from which to read the + * Set the InputStream from which to read the * standard output of the process. - * @param is the InputStream. + * @param is the InputStream. */ public void setProcessOutputStream(InputStream is) { createProcessOutputPump(is, out); } /** - * Set the InputStream from which to read the + * Set the InputStream from which to read the * standard error of the process. - * @param is the InputStream. + * @param is the InputStream. */ public void setProcessErrorStream(InputStream is) { if (err != null) { @@ -95,9 +95,9 @@ public class PumpStreamHandler implements ExecuteStreamHandler { } /** - * Set the OutputStream by means of which + * Set the OutputStream by means of which * input can be sent to the process. - * @param os the OutputStream. + * @param os the OutputStream. */ public void setProcessInputStream(OutputStream os) { if (input != null) { @@ -112,7 +112,7 @@ public class PumpStreamHandler implements ExecuteStreamHandler { } /** - * Start the Threads. + * Start the Threads. */ public void start() { outputThread.start(); @@ -157,7 +157,7 @@ public class PumpStreamHandler implements ExecuteStreamHandler { /** * Get the error stream. - * @return OutputStream. + * @return OutputStream. */ protected OutputStream getErr() { return err; @@ -165,7 +165,7 @@ public class PumpStreamHandler implements ExecuteStreamHandler { /** * Get the output stream. - * @return OutputStream. + * @return OutputStream. */ protected OutputStream getOut() { return out;