Author: nextgens
Date: 2007-10-29 10:25:25 +0000 (Mon, 29 Oct 2007)
New Revision: 15636

Modified:
   trunk/freenet/src/freenet/support/io/StreamCopier.java
Log:
Fix a few typos in comments... I'm not convinced that such a class is 
necessary. setBufferSize(int) is probably not something we want to have ... not 
static anyway

Modified: trunk/freenet/src/freenet/support/io/StreamCopier.java
===================================================================
--- trunk/freenet/src/freenet/support/io/StreamCopier.java      2007-10-29 
10:17:12 UTC (rev 15635)
+++ trunk/freenet/src/freenet/support/io/StreamCopier.java      2007-10-29 
10:25:25 UTC (rev 15636)
@@ -99,11 +99,11 @@
        /**
         * Find the length of an input stream. This method will consume the 
complete
         * input stream until its {@link InputStream#read(byte[])} method 
returns
-        * <code>-1</code>, thus signalling the end of the stream.
+        * <code>-1</code>, thus signaling the end of the stream.
         * 
         * @param source
         *            The input stream to find the length of
-        * @return The numbe of bytes that can be read from the stream
+        * @return The number of bytes that can be read from the stream
         * @throws IOException
         *             if an I/O error occurs
         */


Reply via email to