mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8255529: Remove unused methods from java.util.zip.ZipFile
Reviewed-by: naoto, redestad
This commit is contained in:
parent
d93e3a7d0b
commit
05bcd67e65
1 changed files with 0 additions and 12 deletions
|
@ -1335,18 +1335,6 @@ public class ZipFile implements ZipConstants, Closeable {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private static final int hashN(byte[] a, int off, int len) {
|
|
||||||
int h = 1;
|
|
||||||
while (len-- > 0) {
|
|
||||||
h = 31 * h + a[off++];
|
|
||||||
}
|
|
||||||
return h;
|
|
||||||
}
|
|
||||||
|
|
||||||
private static final int hash_append(int hash, byte b) {
|
|
||||||
return hash * 31 + b;
|
|
||||||
}
|
|
||||||
|
|
||||||
private static class End {
|
private static class End {
|
||||||
int centot; // 4 bytes
|
int centot; // 4 bytes
|
||||||
long cenlen; // 4 bytes
|
long cenlen; // 4 bytes
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue