mirror of
https://github.com/gedoor/legado.git
synced 2024-07-06 23:47:49 +08:00
优化
This commit is contained in:
parent
7f94c80784
commit
6e82100518
@ -271,9 +271,7 @@ public class Resources implements Serializable {
|
||||
*/
|
||||
public void addAll(Collection<Resource> resources) {
|
||||
for (Resource resource : resources) {
|
||||
fixResourceHref(resource);
|
||||
this.resources.put(resource.getHref(), resource);
|
||||
resourcesById.put(resource.getId(), resource);
|
||||
add(resource);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user