Adler32.java: Make private variables really private
2000-08-20 Mark Wielaard <mark@klomp.org> * java/util/zip/Adler32.java: Make private variables really private * java/util/zip/CRC32.java: Make private variables really private * java/util/zip/CheckedInputStream.java: skip() could skip to much bytes * java/util/zip/InflaterInputStream.java: skip() could skip to much bytes * java/util/zip/ZipEntry.java: setCompressedSize() didn't check input * java/util/zip/ZipFile.java: size() new 1.2 method * java/util/zip/ZipInputStream.java: Use createZipEntry not new ZipEntry. since 1.2 available() always returns just 1 or 0 when closed From-SVN: r35826
This commit is contained in:
parent
3cb553b468
commit
8559f9bb2f
8 changed files with 36 additions and 6 deletions
|
@ -22,9 +22,9 @@ package java.util.zip;
|
|||
|
||||
public class CRC32 implements Checksum
|
||||
{
|
||||
int crc = 0;
|
||||
private int crc = 0;
|
||||
|
||||
static int[] crc_table = make_crc_table();
|
||||
private static int[] crc_table = make_crc_table();
|
||||
|
||||
/* Make the table for a fast CRC. */
|
||||
static int[] make_crc_table ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue