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;