From 6e82100518c7f324b21ad61f5fd922a430278760 Mon Sep 17 00:00:00 2001 From: Horis <821938089@qq.com> Date: Wed, 7 Feb 2024 19:12:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../book/src/main/java/me/ag2s/epublib/domain/Resources.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/book/src/main/java/me/ag2s/epublib/domain/Resources.java b/modules/book/src/main/java/me/ag2s/epublib/domain/Resources.java index aaa233e4d..fc7e3acac 100644 --- a/modules/book/src/main/java/me/ag2s/epublib/domain/Resources.java +++ b/modules/book/src/main/java/me/ag2s/epublib/domain/Resources.java @@ -271,9 +271,7 @@ public class Resources implements Serializable { */ public void addAll(Collection resources) { for (Resource resource : resources) { - fixResourceHref(resource); - this.resources.put(resource.getHref(), resource); - resourcesById.put(resource.getId(), resource); + add(resource); } }