Skip to content

Commit 05bcd67

Browse files
author
Lance Andersen
committed
8255529: Remove unused methods from java.util.zip.ZipFile
Reviewed-by: naoto, redestad
1 parent d93e3a7 commit 05bcd67

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/java.base/share/classes/java/util/zip/ZipFile.java

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1335,18 +1335,6 @@ private final void checkEncoding(ZipCoder zc, byte[] a, int pos, int nlen) throw
13351335
}
13361336
}
13371337

1338-
private static final int hashN(byte[] a, int off, int len) {
1339-
int h = 1;
1340-
while (len-- > 0) {
1341-
h = 31 * h + a[off++];
1342-
}
1343-
return h;
1344-
}
1345-
1346-
private static final int hash_append(int hash, byte b) {
1347-
return hash * 31 + b;
1348-
}
1349-
13501338
private static class End {
13511339
int centot; // 4 bytes
13521340
long cenlen; // 4 bytes

0 commit comments

Comments
 (0)