mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-04 02:09:35 +02:00
naming/access rights cleanup
This commit is contained in:
parent
fb557d2de0
commit
d8bb1ad585
7 changed files with 11 additions and 11 deletions
|
@ -51,7 +51,7 @@ public final class SQLiteBooksDatabase extends BooksDatabase {
|
|||
migrate(context);
|
||||
}
|
||||
|
||||
public /*protected*/ void executeAsATransaction(Runnable actions) {
|
||||
protected void executeAsTransaction(Runnable actions) {
|
||||
boolean transactionStarted = false;
|
||||
try {
|
||||
myDatabase.beginTransaction();
|
||||
|
@ -681,7 +681,7 @@ public final class SQLiteBooksDatabase extends BooksDatabase {
|
|||
"INSERT OR IGNORE INTO RecentBooks (book_id) VALUES (?)"
|
||||
);
|
||||
}
|
||||
executeAsATransaction(new Runnable() {
|
||||
executeAsTransaction(new Runnable() {
|
||||
public void run() {
|
||||
myDatabase.delete("RecentBooks", null, null);
|
||||
for (long id : ids) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue