1
0
Fork 0
mirror of https://github.com/geometer/FBReaderJ.git synced 2025-10-04 18:29:23 +02:00

deleted unused methods

This commit is contained in:
Nikolay Pultsin 2013-01-14 05:19:23 +04:00
parent 64911efecf
commit cf6927246d
5 changed files with 0 additions and 50 deletions

View file

@ -396,7 +396,6 @@ public final class Library {
physicalFiles.add(file);
}
if (file != book.File && file != null && file.getPath().endsWith(".epub")) {
myDatabase.deleteFromBookList(book.getId());
continue;
}
if (book.File.exists()) {
@ -633,7 +632,6 @@ public final class Library {
getFirstLevelTree(ROOT_FAVORITES).removeBook(book, false);
myRootTree.removeBook(book, true);
myDatabase.deleteFromBookList(book.getId());
if ((removeMode & REMOVE_FROM_DISK) != 0) {
book.File.getPhysicalFile().delete();
}