You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by mb...@apache.org on 2005/05/26 21:52:45 UTC
cvs commit: ant/src/main/org/apache/tools/ant/util OutputStreamFunneler.java
mbenson 2005/05/26 12:52:45
Modified: src/main/org/apache/tools/ant/util OutputStreamFunneler.java
Log:
Javadoc (fixing my uppercase code tags!)
Revision Changes Path
1.4 +14 -14 ant/src/main/org/apache/tools/ant/util/OutputStreamFunneler.java
Index: OutputStreamFunneler.java
===================================================================
RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/util/OutputStreamFunneler.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- OutputStreamFunneler.java 24 Jan 2005 15:30:32 -0000 1.3
+++ OutputStreamFunneler.java 26 May 2005 19:52:45 -0000 1.4
@@ -21,7 +21,7 @@
import java.io.OutputStream;
/**
- * Manages a set of <CODE>OutputStream</CODE>s to
+ * Manages a set of <code>OutputStream</code>s to
* write to a single underlying stream, which is
* closed only when the last "funnel"
* has been closed.
@@ -82,20 +82,20 @@
private long timeoutMillis;
/**
- * Create a new <CODE>OutputStreamFunneler</CODE> for
- * the specified <CODE>OutputStream</CODE>.
- * @param out <CODE>OutputStream</CODE>.
+ * Create a new <code>OutputStreamFunneler</code> for
+ * the specified <code>OutputStream</code>.
+ * @param out <code>OutputStream</code>.
*/
public OutputStreamFunneler(OutputStream out) {
this(out, DEFAULT_TIMEOUT_MILLIS);
}
/**
- * Create a new <CODE>OutputStreamFunneler</CODE> for
- * the specified <CODE>OutputStream</CODE>, with the
+ * Create a new <code>OutputStreamFunneler</code> for
+ * the specified <code>OutputStream</code>, with the
* specified timeout value.
- * @param out <CODE>OutputStream</CODE>.
- * @param timeoutMillis <CODE>long</CODE>.
+ * @param out <code>OutputStream</code>.
+ * @param timeoutMillis <code>long</code>.
* @see #setTimeout(long)
*/
public OutputStreamFunneler(OutputStream out, long timeoutMillis) {
@@ -109,21 +109,21 @@
}
/**
- * Set the timeout for this <CODE>OutputStreamFunneler</CODE>.
+ * Set the timeout for this <code>OutputStreamFunneler</code>.
* This is the maximum time that may elapse between the closure
* of the last "funnel" and the next call to
- * <CODE>getOutputStream()</CODE> without closing the
+ * <code>getOutputStream()</code> without closing the
* underlying stream.
- * @param timeoutMillis <CODE>long</CODE> timeout value.
+ * @param timeoutMillis <code>long</code> timeout value.
*/
public synchronized void setTimeout(long timeoutMillis) {
this.timeoutMillis = timeoutMillis;
}
/**
- * Get a "funnel" <CODE>OutputStream</CODE> instance to
- * write to this <CODE>OutputStreamFunneler</CODE>'s underlying
- * <CODE>OutputStream</CODE>.
+ * Get a "funnel" <code>OutputStream</code> instance to
+ * write to this <code>OutputStreamFunneler</code>'s underlying
+ * <code>OutputStream</code>.
* @return <code>OutputStream</code>.
* @throws IOException if unable to create the funnel.
*/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org