You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ni...@apache.org on 2010/09/29 03:41:29 UTC

svn commit: r1002443 - /commons/proper/io/trunk/src/java/org/apache/commons/io/input/BoundedInputStream.java

Author: niallp
Date: Wed Sep 29 01:41:29 2010
New Revision: 1002443

URL: http://svn.apache.org/viewvc?rev=1002443&view=rev
Log:
IO-197 Javadoc corrections

Modified:
    commons/proper/io/trunk/src/java/org/apache/commons/io/input/BoundedInputStream.java

Modified: commons/proper/io/trunk/src/java/org/apache/commons/io/input/BoundedInputStream.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/java/org/apache/commons/io/input/BoundedInputStream.java?rev=1002443&r1=1002442&r2=1002443&view=diff
==============================================================================
--- commons/proper/io/trunk/src/java/org/apache/commons/io/input/BoundedInputStream.java (original)
+++ commons/proper/io/trunk/src/java/org/apache/commons/io/input/BoundedInputStream.java Wed Sep 29 01:41:29 2010
@@ -30,7 +30,8 @@ import java.io.InputStream;
  * ServletInputStream's header, will stop it blocking, providing it's been sent
  * with a correct content length.
  *
- * @author InigoSurguy
+ * @version $Id$
+ * @since Commons IO 2.0
  */
 public class BoundedInputStream extends InputStream {
 
@@ -68,7 +69,6 @@ public class BoundedInputStream extends 
      * stream and is unlimited.
      *
      * @param in The wrapped input stream
-     * @param size The maximum number of bytes to return
      */
     public BoundedInputStream(InputStream in) {
         this(in, -1);
@@ -93,7 +93,7 @@ public class BoundedInputStream extends 
 
     /**
      * Invokes the delegate's <code>read(byte[])</code> method.
-     * @param bts the buffer to read the bytes into
+     * @param b the buffer to read the bytes into
      * @return the number of bytes read or -1 if the end of stream or
      * the limit has been reached.
      * @throws IOException if an I/O error occurs
@@ -105,7 +105,7 @@ public class BoundedInputStream extends 
 
     /**
      * Invokes the delegate's <code>read(byte[], int, int)</code> method.
-     * @param bts the buffer to read the bytes into
+     * @param b the buffer to read the bytes into
      * @param off The start offset
      * @param len The number of bytes to read
      * @return the number of bytes read or -1 if the end of stream or
@@ -130,7 +130,7 @@ public class BoundedInputStream extends 
 
     /**
      * Invokes the delegate's <code>skip(long)</code> method.
-     * @param ln the number of bytes to skip
+     * @param n the number of bytes to skip
      * @return the actual number of bytes skipped
      * @throws IOException if an I/O error occurs
      */