1
0
Fork 0
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:
Nikolay Pultsin 2013-02-09 23:52:42 +04:00
parent fb557d2de0
commit d8bb1ad585
7 changed files with 11 additions and 11 deletions

View file

@ -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) {