mirror of
https://github.com/gedoor/legado.git
synced 2025-08-10 00:52:30 +00:00
实现epub的懒加载(未经广泛测试)
This commit is contained in:
@@ -352,7 +352,7 @@ public class ZipFile implements ZipConstants, Closeable {
|
||||
public ZipEntry getEntry(String name) {
|
||||
try {
|
||||
HashMap<String, ZipEntry> entries = getEntries();
|
||||
ZipEntry entry = (ZipEntry) entries.get(name);
|
||||
ZipEntry entry = entries.get(name);
|
||||
return entry != null ? (ZipEntry) entry.clone() : null;
|
||||
} catch (IOException ioe) {
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user