This commit is contained in:
Horis 2024-02-07 19:12:20 +08:00
parent 7f94c80784
commit 6e82100518

View File

@ -271,9 +271,7 @@ public class Resources implements Serializable {
*/ */
public void addAll(Collection<Resource> resources) { public void addAll(Collection<Resource> resources) {
for (Resource resource : resources) { for (Resource resource : resources) {
fixResourceHref(resource); add(resource);
this.resources.put(resource.getHref(), resource);
resourcesById.put(resource.getId(), resource);
} }
} }