Author: grobmeier
Date: Mon Apr 13 15:18:01 2009
New Revision: 764502
URL: http://svn.apache.org/viewvc?rev=764502&view=rev
Log:
COMPRESS-69: Docs state BZ should be skipped by caller, but the Stream checks for it. Removed
wrong docs.
Modified:
commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/compressors/bzip2/BZip2CompressorInputStream.java
Modified: commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/compressors/bzip2/BZip2CompressorInputStream.java
URL: http://svn.apache.org/viewvc/commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/compressors/bzip2/BZip2CompressorInputStream.java?rev=764502&r1=764501&r2=764502&view=diff
==============================================================================
--- commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/compressors/bzip2/BZip2CompressorInputStream.java
(original)
+++ commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/compressors/bzip2/BZip2CompressorInputStream.java
Mon Apr 13 15:18:01 2009
@@ -101,13 +101,6 @@
* Constructs a new BZip2CompressorInputStream which decompresses bytes read from the
* specified stream.
*
- * <p>
- * Although BZip2 headers are marked with the magic <tt>"Bz"</tt> this
- * constructor expects the next byte in the stream to be the first one after
- * the magic. Thus callers have to skip the first two bytes. Otherwise this
- * constructor will throw an exception.
- * </p>
- *
* @throws IOException
* if the stream content is malformed or an I/O error occurs.
* @throws NullPointerException
|