Author: scolebourne Date: Wed Oct 11 06:35:19 2006 New Revision: 462795 URL: http://svn.apache.org/viewvc?view=rev&rev=462795 Log: Javadoc style (less loud) and Checkstyle spaces
Modified: jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/input/CountingInputStream.java Modified: jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/input/CountingInputStream.java URL: http://svn.apache.org/viewvc/jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/input/CountingInputStream.java?view=diff&rev=462795&r1=462794&r2=462795 ============================================================================== --- jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/input/CountingInputStream.java (original) +++ jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/input/CountingInputStream.java Wed Oct 11 06:35:19 2006 @@ -95,7 +95,7 @@ * @deprecated use <code>getByteCount()</code> - see issue IO-84 */ public int getCount() { - return (int)getByteCount(); + return (int) getByteCount(); } /** @@ -109,17 +109,16 @@ * @deprecated use <code>resetByteCount()</code> - see issue IO-84 */ public synchronized int resetCount() { - return (int)resetByteCount(); + return (int) resetByteCount(); } /** * The number of bytes that have passed through this stream. * <p> - * <strong>N.B.</strong> This method was introduced as an - * alternative for the <code>getCount()</code> method - * because that method returns an integer which will result - * in incorrect count for files over 2GB being returned. - * + * NOTE: This method is a replacement for <code>getCount()</code> + * and was added because that method returns an integer which will + * result in incorrect count for files over 2GB. + * * @return the number of bytes accumulated */ public long getByteCount() { @@ -129,10 +128,9 @@ /** * Set the count back to 0. * <p> - * <strong>N.B.</strong> This method was introduced as an - * alternative for the <code>resetCount()</code> method - * because that method returns an integer which will result - * in incorrect count for files over 2GB being returned. + * NOTE: This method is a replacement for <code>resetCount()</code> + * and was added because that method returns an integer which will + * result in incorrect count for files over 2GB. * * @return the count previous to resetting. */ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]