You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by ma...@apache.org on 2004/10/24 04:09:40 UTC
cvs commit: jakarta-commons/io/src/java/org/apache/commons/io IOUtils.java
martinc 2004/10/23 19:09:40
Modified: io/src/java/org/apache/commons/io IOUtils.java
Log:
Fix Javadoc warnings.
Revision Changes Path
1.21 +6 -6 jakarta-commons/io/src/java/org/apache/commons/io/IOUtils.java
Index: IOUtils.java
===================================================================
RCS file: /home/cvs/jakarta-commons/io/src/java/org/apache/commons/io/IOUtils.java,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- IOUtils.java 24 Aug 2004 19:13:12 -0000 1.20
+++ IOUtils.java 24 Oct 2004 02:09:40 -0000 1.21
@@ -142,7 +142,7 @@
* Equivalent to {@link OutputStream#close()}, except any exceptions will be ignored.
* This is typically used in finally blocks.
*
- * @param input the OutputStream to close, may be null or already closed
+ * @param output the OutputStream to close, may be null or already closed
*/
public static void closeQuietly(OutputStream output) {
try {
@@ -239,7 +239,7 @@
* This method buffers the input internally, so there is no need to use a
* <code>BufferedInputStream</code>.
*
- * @param input the <code>InputStream</code> to read from
+ * @param is the <code>InputStream</code> to read from
* @return the requested character array
* @throws NullPointerException if the input is null
* @throws IOException if an I/O error occurs
@@ -260,7 +260,7 @@
* This method buffers the input internally, so there is no need to use a
* <code>BufferedInputStream</code>.
*
- * @param input the <code>InputStream</code> to read from
+ * @param is the <code>InputStream</code> to read from
* @param encoding the encoding to use, null means platform default
* @return the requested character array
* @throws NullPointerException if the input is null
@@ -588,7 +588,7 @@
* Writes chars from a <code>StringBuffer</code> to bytes on an <code>OutputStream</code>
* using the default character encoding of the platform.
* <p>
- * This method uses {@link StringBuffer#getBytes()}.
+ * This method uses {@link String#getBytes()}.
*
* @param data the <code>StringBuffer</code> to write, null ignored
* @param output the <code>OutputStream</code> to write to
@@ -609,7 +609,7 @@
* Character encoding names can be found at
* <a href="http://www.iana.org/assignments/character-sets">IANA</a>.
* <p>
- * This method uses {@link StringBuffer#getBytes(String)}.
+ * This method uses {@link String#getBytes(String)}.
*
* @param data the <code>StringBuffer</code> to write, null ignored
* @param output the <code>OutputStream</code> to write to
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org