Author: ggregory Date: Fri Jul 29 14:01:48 2011 New Revision: 1152225 URL: http://svn.apache.org/viewvc?rev=1152225&view=rev Log: Javadoc: Parameter length is not declared line 116.
Modified: commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/tar/TarUtils.java Modified: commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/tar/TarUtils.java URL: http://svn.apache.org/viewvc/commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/tar/TarUtils.java?rev=1152225&r1=1152224&r2=1152225&view=diff ============================================================================== --- commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/tar/TarUtils.java (original) +++ commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/tar/TarUtils.java Fri Jul 29 14:01:48 2011 @@ -113,12 +113,11 @@ public class TarUtils { * * @param buffer The buffer from which to parse. * @param offset The offset into the buffer from which to parse. - * @param length The maximum number of bytes to parse - must be at least 1 byte. * @return The boolean value of the bytes. * @throws IllegalArgumentException if an invalid byte is detected. */ public static boolean parseBoolean(final byte[] buffer, final int offset) { - return (buffer[offset] == 1); + return buffer[offset] == 1; } // Helper method to generate the exception message