mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-05 10:49:24 +02:00
database parameter in FileInfoSet constructors
This commit is contained in:
parent
d9b061117a
commit
e588c37b3b
5 changed files with 22 additions and 18 deletions
|
@ -334,7 +334,7 @@ public final class Library {
|
|||
|
||||
private void build() {
|
||||
// Step 0: get database books marked as "existing"
|
||||
final FileInfoSet fileInfos = new FileInfoSet();
|
||||
final FileInfoSet fileInfos = new FileInfoSet(myDatabase);
|
||||
final Map<Long,Book> savedBooksByFileId = myDatabase.loadBooks(fileInfos, true);
|
||||
final Map<Long,Book> savedBooksByBookId = new HashMap<Long,Book>();
|
||||
for (Book b : savedBooksByFileId.values()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue