2004-07-30 Michael Koch <konqueror@gmx.de>

* java/util/zip/GZIPInputStream.java
	(GZIPInputStream): Increase buffer size to 4k.
	* java/util/zip/GZIPOutputStream.java
	(GZIPOutputStream): Likewise.
	* java/util/zip/Inflater.java
	(setInput): Merged formating with GNU classpath.
	* java/util/zip/InflaterInputStream.java
	(InflaterInputStream): Increase buffer size to 4k.
	(fill): Throw exception if stream ends early.
	(read): Merged endless-loop with GNU classpath.
	(skip): Increase buffer size to 2k.

From-SVN: r85340
This commit is contained in:
Michael Koch 2004-07-30 17:00:34 +00:00 committed by Michael Koch
parent fbc8762793
commit f370ef24f4
5 changed files with 30 additions and 12 deletions

View file

@ -251,7 +251,7 @@ public class Inflater
* @param buffer the input.
* @exception IllegalStateException if no input is needed.
*/
public void setInput (byte[] buf)
public void setInput (byte[] buf)
{
setInput (buf, 0, buf.length);
}