From dd9917ff0a07a2342d4b4a621ae9c7c63008235f Mon Sep 17 00:00:00 2001 From: ag2s20150909 Date: Tue, 5 Apr 2022 23:29:59 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9E=E7=8E=B0epub=E7=9A=84=E6=87=92?= =?UTF-8?q?=E5=8A=A0=E8=BD=BD(=E6=9C=AA=E7=BB=8F=E5=B9=BF=E6=B3=9B?= =?UTF-8?q?=E6=B5=8B=E8=AF=95)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- epublib/src/main/java/me/ag2s/epublib/zip/ZipFile.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/epublib/src/main/java/me/ag2s/epublib/zip/ZipFile.java b/epublib/src/main/java/me/ag2s/epublib/zip/ZipFile.java index 064583db8..0956bb3e1 100644 --- a/epublib/src/main/java/me/ag2s/epublib/zip/ZipFile.java +++ b/epublib/src/main/java/me/ag2s/epublib/zip/ZipFile.java @@ -352,7 +352,7 @@ public class ZipFile implements ZipConstants, Closeable { public ZipEntry getEntry(String name) { try { HashMap 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;